vim: enable async completion

This commit is contained in:
Rob Watson 2021-03-24 21:00:25 +01:00
parent 82b65be3e2
commit 0c34514586
1 changed files with 1 additions and 0 deletions

1
vimrc
View File

@ -284,6 +284,7 @@ let g:lsp_diagnostics_highlight_delay = 200
let g:lsp_diagnostics_signs_delay = 200 let g:lsp_diagnostics_signs_delay = 200
let g:lsp_diagnostics_code_action_signs_delay = 200 let g:lsp_diagnostics_code_action_signs_delay = 200
let g:lsp_document_highlight_delay = 500 let g:lsp_document_highlight_delay = 500
let g:lsp_async_completion = 1
function! s:on_lsp_buffer_enabled() abort function! s:on_lsp_buffer_enabled() abort
setlocal omnifunc=lsp#complete setlocal omnifunc=lsp#complete