Eglot: fix neocmakelsp invocation

See https://github.com/joaotavora/eglot/issues/1578

* lisp/progmodes/eglot.el (eglot-server-programs): Fix neocmakelsp
This commit is contained in:
João Távora 2026-02-13 11:28:44 +00:00
parent 06395ba77d
commit 541040d4c8

View file

@ -244,7 +244,7 @@ automatically)."
;; `eglot.el' is installed via GNU ELPA in an older Emacs.
`(((rust-ts-mode rust-mode) . ("rust-analyzer"))
((cmake-mode cmake-ts-mode)
. ,(eglot-alternatives '(("neocmakelsp" "--stdio") "cmake-language-server")))
. ,(eglot-alternatives '(("neocmakelsp" "stdio") "cmake-language-server")))
(vimrc-mode . ("vim-language-server" "--stdio"))
((python-mode python-ts-mode)
. ,(eglot-alternatives