X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=vim%2F.vim%2Fplugin%2Flsp.vim;h=bcef27286c0acccd5837ce86168f19002fa99063;hb=1280549be01e3ce72d9e0aeef6254a1ff14a25a3;hp=f951f3697eb5dcccad617782fb07456fb16322b7;hpb=66cddd290fccf8b219d8590b07a6292ec4204434;p=dotfiles.git diff --git a/vim/.vim/plugin/lsp.vim b/vim/.vim/plugin/lsp.vim index f951f36..bcef272 100644 --- a/vim/.vim/plugin/lsp.vim +++ b/vim/.vim/plugin/lsp.vim @@ -1,9 +1,10 @@ -let g:asyncomplete_auto_completeopt = 0 -let g:asyncomplete_auto_popup = 0 +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