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
This commit is contained in:
Gerry Agbobada 2021-08-29 11:09:32 +02:00 committed by Henrik Lissner
parent 23f6f90515
commit d43f260af6

View file

@ -276,7 +276,7 @@ If rtags or rdm aren't available, fail silently instead of throwing a breaking e
(use-package! ccls (use-package! ccls
:when (featurep! +lsp) :when (featurep! +lsp)
:unless (featurep! :tools lsp +eglot) :unless (featurep! :tools lsp +eglot)
:hook (lsp-lens-mode . ccls-code-lens-mode) :defer t
:init :init
(defvar ccls-sem-highlight-method 'font-lock) (defvar ccls-sem-highlight-method 'font-lock)
(after! projectile (after! projectile