Skip to content

Commit

Permalink
Prefer ccls over cquery for c/c++
Browse files Browse the repository at this point in the history
* 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 joaotavora/eglot#94
  • Loading branch information
joaotavora committed Sep 7, 2018
1 parent ef5e123 commit 2d6b24b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lisp/progmodes/eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 2d6b24b

Please sign in to comment.