spacemacs

Fangrui Song 2018-11-08 23:05:06 -08:00
parent b4080792d9
commit 700c423954

@ -12,6 +12,8 @@ https://melpa.org/#/ccls
### Configure
spacemacs: set `c-c++-backend` to `lsp-ccls` in the `+lang/c-c++` layer
The only required configuration is `ccls-executable`. Others have good defaults.
`xref-find-definitions` (default: `M-.`) / highlighting of the symbol at point / type signature in echo area should work out-of-box. Read on for customization and more features.
@ -37,7 +39,6 @@ exec ~/ccls/Release/ccls --log-file=/tmp/ccls.log "$@"
Some common settings to lsp-mode lsp-ui and emacs-ccls:
* spacemacs `+tools/lsp` and https://github.com/syl20bnr/spacemacs/pull/11242
* doom-emacs https://github.com/hlissner/doom-emacs/pull/716
* MaskRay's doom-emacs configuration: <https://github.com/MaskRay/Config/blob/master/home/.config/doom/modules/private/my-cc/config.el>