aboutsummaryrefslogtreecommitdiff
path: root/.vim/after
diff options
context:
space:
mode:
Diffstat (limited to '.vim/after')
-rw-r--r--.vim/after/plugin/yegappan-lsp.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vim/after/plugin/yegappan-lsp.vim b/.vim/after/plugin/yegappan-lsp.vim
index 3c1a9dc..c767efe 100644
--- a/.vim/after/plugin/yegappan-lsp.vim
+++ b/.vim/after/plugin/yegappan-lsp.vim
@@ -38,6 +38,7 @@ function! s:on_lsp_attached() abort
nnoremap <buffer> <localleader>rn :LspRename<CR>
nnoremap <buffer> gr :LspShowReferences<CR>
+ nnoremap <buffer> gI <Cmd>LspGotoImpl<CR>
autocmd! BufWritePre *.rs,*.go call execute('LspFormat')
autocmd! BufRead *.go,*.rs setlocal tagfunc=lsp#lsp#TagFunc