mirror of
https://git.aramjonghu.nl/AramJonghu/nvim.git
synced 2026-06-07 00:48:24 +02: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