From be1e214fb2911e4563298e5542bfa98dc23bf332 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Sat, 8 Jan 2022 18:27:29 -0800 Subject: [PATCH] Add cmake-language-server for cmake-mode * README.md: Advertise. * eglot.el (eglot-server-programs): Add cmake-language-server. --- lisp/progmodes/eglot.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 72cf0c44fcb..3cd006d1698 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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")))) -- 2.39.2