From f30270cec10744b8ce9557b7d3c083b64ccc1eb0 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sun, 21 Mar 2021 21:39:18 +0100 Subject: [PATCH] vim: update vim-lsp timings --- vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vimrc b/vimrc index dad5185..8dcc52a 100644 --- a/vimrc +++ b/vimrc @@ -272,6 +272,11 @@ let g:lsp_settings = { \ 'staticcheck': v:true, \ }}} 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 setlocal omnifunc=lsp#complete