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
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:config
|
:general
|
||||||
(leader-def-key "cd" #'xref-find-definitions))
|
('normal lsp-mode-map "SPC cd" #'lsp-find-definition)
|
||||||
|
('normal lsp-mode-map "SPC cr" #'lsp-find-references))
|
||||||
|
|
||||||
(use-package company-lsp
|
(use-package company-lsp
|
||||||
:after (company)
|
:after (company)
|
||||||
|
Loading…
Reference in New Issue
Block a user