]> git.eshelyaron.com Git - emacs.git/commitdiff
Add cmake-language-server for cmake-mode
authorBrian Leung <bkleung89@gmail.com>
Sun, 9 Jan 2022 02:27:29 +0000 (18:27 -0800)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 9 Jan 2022 07:33:41 +0000 (08:33 +0100)
* README.md: Advertise.
* eglot.el (eglot-server-programs): Add cmake-language-server.

lisp/progmodes/eglot.el

index 72cf0c44fcb4222b8eb05397a3e3329d23e6bef3..3cd006d169868262f1ec89c84eaa56ada6de9570 100644 (file)
@@ -140,6 +140,7 @@ chosen (interactively or automatically)."
                       finally (funcall err)))))))
 
 (defvar eglot-server-programs `((rust-mode . (eglot-rls "rls"))
+                                (cmake-mode . ("cmake-language-server"))
                                 (python-mode
                                  . ,(eglot-alternatives
                                      '("pylsp" "pyls" ("pyright-langserver" "--stdio"))))