diff --git a/lsp-mode.md b/lsp-mode.md index b74c595..c870c9b 100644 --- a/lsp-mode.md +++ b/lsp-mode.md @@ -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