tweak(doom): enable clangd C lsp
This commit is contained in:
parent
c2d1aed3ba
commit
dd5d24fe3b
3 changed files with 9 additions and 1 deletions
|
@ -110,6 +110,11 @@
|
|||
(setq lsp-csharp-server-path (executable-find "omnisharp"))
|
||||
(setq lsp-haskell-formatting-provider "ormolu")
|
||||
|
||||
(after! lsp-mode
|
||||
(add-to-list 'lsp-enabled-clients 'clangd)
|
||||
(set-lsp-priority! 'clangd 1) ; ccls has priority 0
|
||||
)
|
||||
|
||||
;; --- --- Original Configuration Comments --- ---
|
||||
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
|
||||
;; are the three important ones:
|
||||
|
|
|
@ -113,7 +113,7 @@
|
|||
:lang
|
||||
;;agda ; types of types of types of types...
|
||||
;;beancount ; mind the GAAP
|
||||
cc ; C > C++ == 1
|
||||
(cc +lsp) ; C > C++ == 1
|
||||
;;clojure ; java with a lisp
|
||||
common-lisp ; if you've seen one lisp, you've seen them all
|
||||
;;coq ; proofs-as-programs
|
||||
|
|
|
@ -54,6 +54,9 @@ in
|
|||
# :lang common-lisp
|
||||
sbcl
|
||||
|
||||
# :lang cc
|
||||
clang-tools
|
||||
|
||||
# :lang csharp
|
||||
dotnetCorePackages.sdk_6_0
|
||||
omnisharp-roslyn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue