From 114b3b9e4502cb7f9587d14f7e5df06d3ab938e4 Mon Sep 17 00:00:00 2001 From: jdhao Date: Fri, 6 Nov 2020 00:35:15 +0800 Subject: [PATCH] formatting --- core/plugins.vim | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/core/plugins.vim b/core/plugins.vim index 3502ff9..52799a1 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -400,15 +400,15 @@ if executable('vim-language-server') endif function! s:on_lsp_buffer_enabled() abort - if exists('+tagfunc') | setlocal tagfunc=lsp#tagfunc | endif - nmap gd (lsp-definition) - nmap gr (lsp-references) - nmap gi (lsp-implementation) - nmap gt (lsp-type-definition) - nmap rn (lsp-rename) - nmap [g (lsp-previous-diagnostic) - nmap ]g (lsp-next-diagnostic) - nmap K (lsp-hover) + if exists('+tagfunc') | setlocal tagfunc=lsp#tagfunc | endif + nmap gd (lsp-definition) + nmap gr (lsp-references) + nmap gi (lsp-implementation) + nmap gt (lsp-type-definition) + nmap rn (lsp-rename) + nmap [g (lsp-previous-diagnostic) + nmap ]g (lsp-next-diagnostic) + nmap K (lsp-hover) endfunction augroup lsp_install