Add keybindings for lsp find defs and refs

This commit is contained in:
Jeremy Dormitzer 2019-02-17 22:41:36 -05:00
parent 2bbed5ec8c
commit 650af4ca81

View File

@ -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)