Open miladabc opened 1 year ago
Thanks for your work on this plugin, I was wondering if it is possible to format on auto save, I have this autocmd and your plugin does not format after this.
vim.api.nvim_create_autocmd("BufLeave", { group = vim.api.nvim_create_augroup("AutoSave", { clear = true }), callback = function(event) vim.api.nvim_command("update") end, })
This is probably because autocommands are not nested by default. Take a look at :help autocmd-nested
:help autocmd-nested
Thanks for your work on this plugin,
I was wondering if it is possible to format on auto save, I have this autocmd and your plugin does not format after this.