mirror of
https://github.com/MaskRay/ccls.git
synced 2025-06-07 00:34:55 +00:00
Doom no longer ships ccls as the default LSP, see [here]{https://github.com/doomemacs/doomemacs/issues/2689#issuecomment-2339183572) - I have simply added in the updated instructions from [here](c75e1b915b/modules/lang/cc/README.org (lsp-mode-with-ccls)
)
parent
761a47702a
commit
a5a9630a4c
@ -9,6 +9,14 @@
|
||||
|
||||
Set `(cc +lsp)` in your `~/.config/doom/init.el`
|
||||
|
||||
In your `~/.config/doom/config.el` add the following:
|
||||
```elisp
|
||||
;;; add to $DOOMDIR/config.el
|
||||
(after! ccls
|
||||
(setq ccls-initialization-options '(:index (:comments 2) :completion (:detailedLabel t)))
|
||||
(set-lsp-priority! 'ccls 1))
|
||||
```
|
||||
|
||||
#### spacemacs
|
||||
|
||||
set `c-c++-backend` to `lsp-ccls` in the `+lang/c-c++` layer
|
||||
|
Loading…
Reference in New Issue
Block a user