Add keybindings for lsp find defs and refs
This commit is contained in:
parent
2bbed5ec8c
commit
650af4ca81
@ -974,8 +974,9 @@ Emacs support for the Language Server Protocol
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package lsp-mode
|
||||
:config
|
||||
(leader-def-key "cd" #'xref-find-definitions))
|
||||
:general
|
||||
('normal lsp-mode-map "SPC cd" #'lsp-find-definition)
|
||||
('normal lsp-mode-map "SPC cr" #'lsp-find-references))
|
||||
|
||||
(use-package company-lsp
|
||||
:after (company)
|
||||
|
Loading…
Reference in New Issue
Block a user