vim: update vim-lsp timings

This commit is contained in:
Rob Watson 2021-03-21 21:39:18 +01:00
parent 36cdb07652
commit f30270cec1
1 changed files with 5 additions and 0 deletions

5
vimrc
View File

@ -272,6 +272,11 @@ let g:lsp_settings = {
\ 'staticcheck': v:true, \ 'staticcheck': v:true,
\ }}} \ }}}
let g:lsp_diagnostics_float_cursor = 1 let g:lsp_diagnostics_float_cursor = 1
let g:lsp_diagnostics_float_delay = 200
let g:lsp_diagnostics_highlight_delay = 200
let g:lsp_diagnostics_signs_delay = 200
let g:lsp_diagnostics_code_action_signs_delay = 200
let g:lsp_document_highlight_delay = 500
function! s:on_lsp_buffer_enabled() abort function! s:on_lsp_buffer_enabled() abort
setlocal omnifunc=lsp#complete setlocal omnifunc=lsp#complete