Teach embark that lsp identifiers are identifiers

This commit is contained in:
Jeremy Dormitzer 2023-03-07 17:07:15 -05:00
parent 8aaf38447b
commit bae029e979

View File

@ -95,7 +95,7 @@ targets."
(call-interactively #'lsp-execute-code-action)) (call-interactively #'lsp-execute-code-action))
(defvar-keymap embark-lsp-identifier-actions (defvar-keymap embark-lsp-identifier-actions
:doc "Keymap for actions on LSP identifiers" :doc "Keymap for actions on LSP identifiers"
:parent embark-general-map :parent embark-identifier-map
"a" #'embark-lsp-execute-code-action "a" #'embark-lsp-execute-code-action
"h" #'lsp-describe-thing-at-point) "h" #'lsp-describe-thing-at-point)
(add-to-list 'embark-keymap-alist '(lsp-identifier . embark-lsp-identifier-actions)) (add-to-list 'embark-keymap-alist '(lsp-identifier . embark-lsp-identifier-actions))