Migrate deprecated call
This commit is contained in:
parent
1aa5379036
commit
8180e3adf6
1 changed files with 1 additions and 1 deletions
2
lsp.vim
2
lsp.vim
|
@ -76,7 +76,7 @@ EOF
|
||||||
" 300ms of no cursor movement to trigger CursorHold
|
" 300ms of no cursor movement to trigger CursorHold
|
||||||
set updatetime=750
|
set updatetime=750
|
||||||
" Show diagnostic popup on cursor hold
|
" Show diagnostic popup on cursor hold
|
||||||
autocmd CursorHold * lua vim.lsp.diagnostic.show_line_diagnostics()
|
autocmd CursorHold * lua vim.diagnostic.open_float()
|
||||||
" have a fixed column for the diagnostics to appear in
|
" have a fixed column for the diagnostics to appear in
|
||||||
" this removes the jitter when warnings/errors flow in
|
" this removes the jitter when warnings/errors flow in
|
||||||
set signcolumn=yes
|
set signcolumn=yes
|
||||||
|
|
Loading…
Reference in a new issue