This commit is contained in:
inorishio
2025-12-11 08:08:24 +01:00
parent f2b10ec900
commit f434feba89
5 changed files with 101 additions and 4 deletions
+7 -4
View File
@@ -13,8 +13,11 @@ autocmd("VimLeave", {
command = "set guicursor=a:ver25-Cursor"
})
autocmd({ "CursorHold" }, {
callback = function()
vim.diagnostic.open_float(nil, { focus = false })
end
autocmd("BufWritePre", {
callback = function()
local ok = pcall(function()
vim.cmd "undojoin"
end)
vim.cmd "Neoformat"
end,
})