From: João Távora Date: Fri, 7 Sep 2018 11:46:46 +0000 (+0100) Subject: Prefer ccls over cquery for c/c++ X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~431 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2d6b24bfa67190e0364ecaba0298dac891992f40;p=emacs.git 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 --- 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))