From cc10e1723edb546ddda86400792d24309bfa8bc7 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Mon, 5 Feb 2024 14:18:13 +0800 Subject: Add vim map --- .vim/after/plugin/yegappan-lsp.vim | 1 + 1 file changed, 1 insertion(+) (limited to '.vim/after/plugin/yegappan-lsp.vim') 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 rn :LspRename nnoremap gr :LspShowReferences + nnoremap gI LspGotoImpl autocmd! BufWritePre *.rs,*.go call execute('LspFormat') autocmd! BufRead *.go,*.rs setlocal tagfunc=lsp#lsp#TagFunc -- cgit v1.2.3