From d43f260af64e07199144969e620e1b0ba4438a4c Mon Sep 17 00:00:00 2001 From: Gerry Agbobada <10496163+gagbo@users.noreply.github.com> Date: Sun, 29 Aug 2021 11:09:32 +0200 Subject: [PATCH] fix(cc): remove double lenses with lsp On current pins, ccls and lsp code lenses aren't mutually exclusive, and there is actually 2 sets of code lenses appearing --- modules/lang/cc/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/cc/config.el b/modules/lang/cc/config.el index ba42f2a8f..993ba750b 100644 --- a/modules/lang/cc/config.el +++ b/modules/lang/cc/config.el @@ -276,7 +276,7 @@ If rtags or rdm aren't available, fail silently instead of throwing a breaking e (use-package! ccls :when (featurep! +lsp) :unless (featurep! :tools lsp +eglot) - :hook (lsp-lens-mode . ccls-code-lens-mode) + :defer t :init (defvar ccls-sem-highlight-method 'font-lock) (after! projectile