X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=vim%2F.vim%2Fplugin%2Flsp.vim;h=c7930b4e24cba965045381963e153cb155d71936;hb=6b3cd1e80646e11ce56a53ccd15cb0b674dac88f;hp=678a77d1fc6bb3d29f6246d7aaa3871f51679f96;hpb=78a50f8e61ca5f35791631f37f1b964f7388d5cd;p=dotfiles.git diff --git a/vim/.vim/plugin/lsp.vim b/vim/.vim/plugin/lsp.vim index 678a77d..c7930b4 100644 --- a/vim/.vim/plugin/lsp.vim +++ b/vim/.vim/plugin/lsp.vim @@ -1,10 +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_documentation_float_docked = 1 +let g:lsp_signature_help_enabled = 0 function! s:on_lsp_buffer_enabled() abort setlocal omnifunc=lsp#complete @@ -18,3 +18,5 @@ augroup lsp_install autocmd! autocmd User lsp_buffer_enabled call s:on_lsp_buffer_enabled() augroup END + +map :call mylsp#qfpopulate():copen