nixos/nvim/diagnostic.lua

8 lines
224 B
Lua
Raw Normal View History

vim.diagnostic.config({
virtual_text = false,
signs = true,
float = { border = "single" },
})
vim.o.updatetime = 250
vim.cmd [[autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})]]