Diagnostics are now a separate window instead of virtual text.
This commit is contained in:
parent
779afbdd61
commit
d659e917cd
1 changed files with 7 additions and 0 deletions
|
|
@ -43,3 +43,10 @@ vim.opt.updatetime = 50
|
|||
|
||||
-- Colour columns
|
||||
vim.opt.colorcolumn = '120'
|
||||
|
||||
-- Diagnostics
|
||||
vim.diagnostic.config({
|
||||
virtual_text = false,
|
||||
})
|
||||
vim.opt.updatetime = 250
|
||||
vim.cmd [[autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})]]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue