mirror of
https://git.aramjonghu.nl/AramJonghu/nvim.git
synced 2026-06-07 00:48:24 +02:00
formatted
This commit is contained in:
+4
-6
@@ -1,10 +1,8 @@
|
||||
local autocmd = vim.api.nvim_create_autocmd
|
||||
|
||||
autocmd("BufWritePre", {
|
||||
callback = function()
|
||||
local ok = pcall(function()
|
||||
vim.cmd "undojoin"
|
||||
end)
|
||||
vim.cmd "Neoformat"
|
||||
end,
|
||||
callback = function()
|
||||
local ok = pcall(function() vim.cmd "undojoin" end)
|
||||
vim.cmd "Neoformat"
|
||||
end
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user