auto-save.nvim
auto-save.nvim copied to clipboard
fix callbacks never call.
The do_callback in data.lua will always use the default options from config.lua
https://github.com/Pocco81/auto-save.nvim/blob/979b6c82f60cfa80f4cf437d77446d0ded0addf0/lua/auto-save/utils/data.lua#L3
https://github.com/Pocco81/auto-save.nvim/blob/979b6c82f60cfa80f4cf437d77446d0ded0addf0/lua/auto-save/utils/data.lua#L19-L23
I simply rewrite the callback function in init.lua.
Would rather have the other PR: https://github.com/Pocco81/auto-save.nvim/pull/67 since you did a lot of unecessary code changes?