better popover error messages
This commit is contained in:
parent
dfeb1e7a56
commit
770822730e
6
lua/custom/plugins/popover-diagnostics.lua
Normal file
6
lua/custom/plugins/popover-diagnostics.lua
Normal file
@ -0,0 +1,6 @@
|
||||
-- You will likely want to reduce updatetime which affects CursorHold
|
||||
-- note: this setting is global and should be set only once
|
||||
vim.o.updatetime = 250
|
||||
vim.cmd [[autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})]]
|
||||
|
||||
return {}
|
Loading…
x
Reference in New Issue
Block a user