refactor: use negated flags

Ref: 7a806521a92c
This commit is contained in:
Henrik Lissner
2024-10-19 14:57:44 -04:00
parent 15904349cf
commit 448bc5cae2
73 changed files with 87 additions and 132 deletions

View File

@ -160,7 +160,7 @@ This is ignored by ccls.")
cuda-mode-local-vars-hook)
:append #'lsp!)
(if (not (modulep! :tools lsp +eglot))
(if (modulep! :tools lsp -eglot)
(after! lsp-clangd
;; Prevent clangd from consuming all your cores indexing larger projects
;; and grinding your system to a halt.
@ -185,7 +185,7 @@ This is ignored by ccls.")
(use-package! ccls
:when (modulep! +lsp)
:unless (modulep! :tools lsp +eglot)
:when (modulep! :tools lsp -eglot)
:defer t
:init
(defvar ccls-sem-highlight-method 'font-lock)

View File

@ -19,5 +19,5 @@
:pin "404cd0694ab34971f9c01eb22126cd2e7d3f9dc4")))
(when (and (modulep! +lsp)
(not (modulep! :tools lsp +eglot)))
(modulep! :tools lsp -eglot))
(package! ccls :pin "41399b0eba03f9b80769ced71501ba702db4cd62"))