mirror of
https://git.aramjonghu.nl/AramJonghu/nvim.git
synced 2026-03-22 09:41:10 +01:00
11/12
This commit is contained in:
@@ -1,8 +1 @@
|
||||
local autocmd = vim.api.nvim_create_autocmd
|
||||
|
||||
autocmd("BufWritePre", {
|
||||
callback = function()
|
||||
local ok = pcall(function() vim.cmd "undojoin" end)
|
||||
vim.cmd "Neoformat"
|
||||
end
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user