Added csharp ls
This commit is contained in:
parent
48029097a5
commit
fbb6984a57
1 changed files with 18 additions and 16 deletions
34
config.org
34
config.org
|
|
@ -1200,22 +1200,24 @@ Emacs has built-in programming language modes for Lisp, Scheme, DSSSL, Ada, ASM,
|
||||||
#+end_src
|
#+end_src
|
||||||
** Eglot
|
** Eglot
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(with-eval-after-load 'eglot
|
(with-eval-after-load 'eglot
|
||||||
(add-to-list 'eglot-server-programs
|
(add-to-list 'eglot-server-programs
|
||||||
'((c-ts-mode c++-ts-mode)
|
'((c-ts-mode c++-ts-mode)
|
||||||
. ("clangd"
|
. ("clangd"
|
||||||
"-j=8"
|
"-j=8"
|
||||||
"--log=error"
|
"--log=error"
|
||||||
"--malloc-trim"
|
"--malloc-trim"
|
||||||
"--background-index"
|
"--background-index"
|
||||||
"--clang-tidy"
|
"--clang-tidy"
|
||||||
"--cross-file-rename"
|
"--cross-file-rename"
|
||||||
"--completion-style=detailed"
|
"--completion-style=detailed"
|
||||||
"--pch-storage=memory"
|
"--pch-storage=memory"
|
||||||
"--header-insertion=never"
|
"--header-insertion=never"
|
||||||
"--header-insertion-decorators=0")))
|
"--header-insertion-decorators=0"))
|
||||||
(add-hook 'c-ts-mode-hook #'eglot-ensure)
|
((csharp-ts-mode) . ("csharp-ls")))
|
||||||
(add-hook 'c++-ts-mode-hook #'eglot-ensure))
|
(add-hook 'c-ts-mode-hook #'eglot-ensure)
|
||||||
|
(add-hook 'c++-ts-mode-hook #'eglot-ensure)
|
||||||
|
(add-hook 'csharp-ts-mode-hook #'eglot-ensure))
|
||||||
#+end_src
|
#+end_src
|
||||||
* Nerd Icons
|
* Nerd Icons
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue