mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-29 14:33:34 -05:00
fix(lsp): revert refactor of map! call
This change (made inae9e1fea
) was a tad too hasty, since general.el (under the hood) implicitly deferred the keybinding until eglot-mode-map, which define-key does not do. Fix: #7911 Amend:ae9e1feaa6
This commit is contained in:
@@ -62,9 +62,12 @@ server an expensive restart when its buffer is reverted."
|
||||
|
||||
|
||||
(use-package! consult-eglot
|
||||
:defer t
|
||||
:when (modulep! :completion vertico)
|
||||
:init (define-key eglot-mode-map [remap xref-find-apropos] #'consult-eglot-symbols))
|
||||
:defer t
|
||||
:init
|
||||
(map! :after eglot
|
||||
:map eglot-mode-map
|
||||
[remap xref-find-apropos] #'consult-eglot-symbols))
|
||||
|
||||
|
||||
(use-package! flycheck-eglot
|
||||
|
Reference in New Issue
Block a user