[nvim] Move neovim config to /nvim

This commit is contained in:
Eryn Wells 2026-01-24 15:25:05 -08:00
parent e45c1694af
commit 5b567ad2ad
28 changed files with 0 additions and 0 deletions

15
nvim/lua/autocommands.lua Normal file
View file

@ -0,0 +1,15 @@
-- Eryn Wells <eryn@erynwells.me>
vim.opt.updatetime = 300
-- Show diagnostic popup on cursor hover
local diagnostic_float_group = vim.api.nvim_create_augroup("DiagnosticFloat", { clear = true })
vim.api.nvim_create_autocmd("CursorHold", {
callback = function()
vim.diagnostic.open_float {
border = "double",
focusable = false,
}
end,
group = diagnostic_float_group,
})