]> git.eshelyaron.com Git - emacs.git/commitdiff
Prefer ccls over cquery for c/c++
authorJoão Távora <joaotavora@gmail.com>
Fri, 7 Sep 2018 11:46:46 +0000 (12:46 +0100)
committerJoão Távora <joaotavora@gmail.com>
Fri, 7 Sep 2018 11:46:46 +0000 (12:46 +0100)
* 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

index 14c32db9eefc8d85a4e0bd443d78229b3d2679ac..49cfce28ce3832d4b3935b5ae136a95057bfcd9d 100644 (file)
@@ -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))