diff --git a/lua/custom/plugins/popover-diagnostics.lua b/lua/custom/plugins/popover-diagnostics.lua new file mode 100644 index 00000000..8c9ea342 --- /dev/null +++ b/lua/custom/plugins/popover-diagnostics.lua @@ -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 {}