X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=vim%2F.vim%2Fplugin%2Flsp.vim;h=bcef27286c0acccd5837ce86168f19002fa99063;hb=1280549be01e3ce72d9e0aeef6254a1ff14a25a3;hp=3a935448e3417104e7d882dacef46a58d4febe6c;hpb=f8ad886e2bcf071a48a624e63cafc567587fad81;p=dotfiles.git diff --git a/vim/.vim/plugin/lsp.vim b/vim/.vim/plugin/lsp.vim index 3a93544..bcef272 100644 --- a/vim/.vim/plugin/lsp.vim +++ b/vim/.vim/plugin/lsp.vim @@ -1,9 +1,10 @@ -if exists("g:loaded_mein_lsp") | finish | endif -let g:loaded_mein_lsp = 1 +if exists("*on_lsp_buffer_enabled") | finish | endif + +let g:lsp_auto_enable = 1 -let g:lsp_highlight_references_enabled = 1 let g:lsp_diagnostics_echo_cursor = 1 let g:lsp_diagnostics_echo_delay = -1 +let g:lsp_signature_help_enabled = 0 function! s:on_lsp_buffer_enabled() abort setlocal omnifunc=lsp#complete