mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
spacemacs
parent
b4080792d9
commit
700c423954
3
Emacs.md
3
Emacs.md
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user