Dial in
This commit is contained in:
parent
89da8ce793
commit
091e9f3bff
1 changed files with 4 additions and 1 deletions
5
rust.vim
5
rust.vim
|
@ -74,6 +74,9 @@ EOF
|
||||||
|
|
||||||
" Set updatetime for CursorHold
|
" Set updatetime for CursorHold
|
||||||
" 300ms of no cursor movement to trigger CursorHold
|
" 300ms of no cursor movement to trigger CursorHold
|
||||||
set updatetime=300
|
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.lsp.diagnostic.show_line_diagnostics()
|
||||||
|
" have a fixed column for the diagnostics to appear in
|
||||||
|
" this removes the jitter when warnings/errors flow in
|
||||||
|
set signcolumn=yes
|
||||||
|
|
Loading…
Reference in a new issue