kickstart.nvim/lua/custom/plugins/popover-diagnostics.lua

7 lines
260 B
Lua

-- 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 {}