From fce9aa4605db657c096d77439631d645adc53a56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Tue, 22 Oct 2024 00:47:33 +0200 Subject: [PATCH] Home Gen366 @ 2024-10-22-00:47 --- modules/home/doom/doom.nix | 1 + modules/home/doom/static/config.el | 3 +++ 2 files changed, 4 insertions(+) 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))