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:
parent
d9c5f747ab
commit
d3d5047488
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue