mirror of
https://git.aramjonghu.dev/AramJonghu/nvim.git
synced 2026-09-01 07:33:31 +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