fix(cc): enable lsp in cuda-mode

Fix: #7576
This commit is contained in:
Henrik Lissner 2023-12-02 11:32:28 -05:00
parent 5b9da18bc1
commit 36d18d6da5
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -250,7 +250,12 @@ If rtags or rdm aren't available, fail silently instead of throwing a breaking e
(add-hook! '(c-mode-local-vars-hook (add-hook! '(c-mode-local-vars-hook
c++-mode-local-vars-hook c++-mode-local-vars-hook
objc-mode-local-vars-hook objc-mode-local-vars-hook
cmake-mode-local-vars-hook) cmake-mode-local-vars-hook
;; HACK Can't use cude-mode-local-vars-hook because cuda-mode
;; isn't a proper major mode (just a plain function
;; masquarading as one, so your standard mode hooks won't fire
;; from switching to cuda-mode).
cuda-mode-hook)
:append #'lsp!) :append #'lsp!)
(map! :after ccls (map! :after ccls