start with neoformat, not configured correctly yet, added some mason ensure installed

This commit is contained in:
Aram Markarov
2025-12-11 00:07:23 +01:00
parent e1a41d945d
commit 126ee70634
5 changed files with 30 additions and 5 deletions
+10
View File
@@ -0,0 +1,10 @@
local autocmd = vim.api.nvim_create_autocmd
autocmd("BufWritePre", {
callback = function()
local ok = pcall(function()
vim.cmd "undojoin"
end)
vim.cmd "Neoformat"
end,
})