emacs: Add neocmake to 'eglot-server-programs
This commit is contained in:
parent
d09a0f973d
commit
b829575b97
1 changed files with 10 additions and 1 deletions
|
@ -1315,7 +1315,16 @@ Add [[https://melpa.org/#/cmake-mode][cmake-mode]]
|
|||
#+begin_src emacs-lisp
|
||||
(use-package cmake-mode
|
||||
:after eglot
|
||||
:hook (cmake-mode . eglot-ensure))
|
||||
:hook
|
||||
((cmake-mode cmake-ts-mode) . eglot-ensure))
|
||||
#+end_src
|
||||
|
||||
Add =neocmakelsp= to language servers
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(with-eval-after-load 'eglot
|
||||
(add-to-list 'eglot-server-programs
|
||||
'(cmake-ts-mode . ("neocmakelsp" "--stdio"))))
|
||||
#+end_src
|
||||
|
||||
*** YAML
|
||||
|
|
Loading…
Reference in a new issue