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

@@ -110,7 +110,8 @@
(use-package! dap-mode
:when (and (modulep! +lsp) (not (modulep! :tools lsp +eglot)))
:when (modulep! +lsp)
:when (modulep! :tools lsp -eglot)
:hook (dap-mode . dap-tooltip-mode)
:init
(setq dap-breakpoints-file (concat doom-data-dir "dap-breakpoints")
@@ -156,6 +157,7 @@
(use-package! dap-ui
:when (and (modulep! +lsp) (not (modulep! :tools lsp +eglot)))
:when (modulep! +lsp)
:when (modulep! :tools lsp -eglot)
:hook (dap-mode . dap-ui-mode)
:hook (dap-ui-mode . dap-ui-controls-mode))