about summary refs log tree commit diff
path: root/users/grfn/emacs.d
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2022-03-16T13·59-0400
committerclbot <clbot@tvl.fyi>2022-03-16T14·09+0000
commitf01704e80c5ce009ad9cd63e4f3551391b9c515f (patch)
treed787671a4d0dca7ff71370c276a87387fa075195 /users/grfn/emacs.d
parent2b593c4cddb0e9e754f29ddb0cca7eab792c7fa6 (diff)
feat(grfn/emacs): Add binding for lsp-goto-type-definition r/3912
Change-Id: I6ed70cb78da77436e2760cd6ca049058f9dfaf7e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5393
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/grfn/emacs.d')
-rw-r--r--users/grfn/emacs.d/rust.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/grfn/emacs.d/rust.el b/users/grfn/emacs.d/rust.el
index 689d843e78e1..1c1c75aab56f 100644
--- a/users/grfn/emacs.d/rust.el
+++ b/users/grfn/emacs.d/rust.el
@@ -26,6 +26,7 @@
   :n "g RET" #'lsp-rust-analyzer-run
   :n "g R" #'lsp-find-references
   :n "g d" #'lsp-find-definition
+  :n "g Y" #'lsp-goto-type-definition
   (:localleader
    "m" #'lsp-rust-analyzer-expand-macro)))