X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=vim%2F.vim%2Fplugin%2Flsp.vim;h=f951f3697eb5dcccad617782fb07456fb16322b7;hb=66cddd290fccf8b219d8590b07a6292ec4204434;hp=1348fc4dbc4a7d040f2bd824ac5feb140afd4561;hpb=5c68aeb2bf368d8dafa1be0af423830580010b25;p=dotfiles.git diff --git a/vim/.vim/plugin/lsp.vim b/vim/.vim/plugin/lsp.vim index 1348fc4..f951f36 100644 --- a/vim/.vim/plugin/lsp.vim +++ b/vim/.vim/plugin/lsp.vim @@ -1,14 +1,11 @@ -let g:lsp_settings = { -\ 'clangd': {'cmd': ['clangd60']}, -\} - let g:asyncomplete_auto_completeopt = 0 -let g:lsp_settings_enable_suggestions = 0 +let g:asyncomplete_auto_popup = 0 + let g:lsp_highlight_references_enabled = 1 let g:lsp_diagnostics_echo_cursor = 1 +let g:lsp_diagnostics_echo_delay = -1 function! s:on_lsp_buffer_enabled() abort - setlocal completeopt=menuone,noinsert,noselect setlocal omnifunc=lsp#complete nmap [g (lsp-previous-diagnostic) nmap ]g (lsp-next-diagnostic)