diff --git a/modules/home/doom/doom.nix b/modules/home/doom/doom.nix index 793f423..de909f9 100644 --- a/modules/home/doom/doom.nix +++ b/modules/home/doom/doom.nix @@ -13,6 +13,7 @@ (ripgrep.override {withPCRE2 = true;}) alejandra binutils + ccls clang-tools cmake editorconfig-core-c diff --git a/modules/home/doom/static/config.el b/modules/home/doom/static/config.el index c10bb5a..940eea5 100644 --- a/modules/home/doom/static/config.el +++ b/modules/home/doom/static/config.el @@ -132,5 +132,8 @@ )) (set-lsp-priority! 'clangd 2)) +(after! ccls + (setq ccls-initialization-options '(:index (:comments 2) :completion (:detailedLabel t))) + (set-lsp-priority! 'ccls 1)) (set-formatter! 'alejandra '("alejandra" "--quiet") :modes '(nix-mode))