From 2d6b24bfa67190e0364ecaba0298dac891992f40 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Fri, 7 Sep 2018 12:46:46 +0100 Subject: [PATCH] Prefer ccls over cquery for c/c++ * README.md (Installation and usage): Prefer ccls to cquery. Mention clangd. * eglot.el (eglot-server-programs): Suggest ccls for c/c++ by default. GitHub-reference: close https://github.com/joaotavora/eglot/issues/94 --- lisp/progmodes/eglot.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 14c32db9eef..49cfce28ce3 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -83,8 +83,7 @@ js2-mode rjsx-mode) . ("javascript-typescript-stdio")) (sh-mode . ("bash-language-server" "start")) - ((c++-mode - c-mode) . (eglot-cquery "cquery")) + ((c++-mode c-mode) . ("ccls")) (ruby-mode . ("solargraph" "socket" "--port" :autoport)) -- 2.39.2