Normalize keymaps when eglot hook runs (#744)

This commit is contained in:
James Nguyen 2023-09-14 22:30:33 -04:00
parent 8be4b75c86
commit 0f558f36c1
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@
;;;###autoload
(defun evil-collection-eglot-setup ()
"Set up `evil' bindings for `eglot'."
(add-hook 'eglot-managed-mode-hook 'evil-normalize-keymaps)
(evil-collection-define-key 'normal 'eglot-mode-map
"gd" 'xref-find-definitions
"gD" 'xref-find-definitions-other-window