From 89e6b6849e5bee7fbf5e31f28ef4d4ae6b0ffc0b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 22 Mar 2024 10:09:45 -0400 Subject: [PATCH] fix(default): restore accidentally gated keybinds (part 2) I haven't published support for negated flags (e.g. -eglot) yet; this snuck into 76b4522. Amend: 76b452278fcb Ref: #7745 --- modules/config/default/+evil-bindings.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 7b1539bf8..bdd55d7bd 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -405,7 +405,7 @@ ;;; c --- code (:prefix-map ("c" . "code") - (:when (modulep! :tools lsp -eglot) + (:when (and (modulep! :tools lsp) (not (modulep! :tools lsp +eglot))) :desc "LSP Execute code action" "a" #'lsp-execute-code-action :desc "LSP Organize imports" "o" #'lsp-organize-imports :desc "LSP" "l" #'+default/lsp-command-map