We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
before_saving
This does not seem to work:
require("auto-save").setup({ enabled = true, callbacks = { before_saving = function() vim.lsp.buf.formatting_sync() end } })
The auto save happens, but the formatting does not; manually calling vim.lsp.buf.formatting_sync() works as expected.
vim.lsp.buf.formatting_sync()
The text was updated successfully, but these errors were encountered:
same question
Sorry, something went wrong.
Current workaround: using the fork https://github.com/AnonymusRaccoon/auto-save.nvim from #67 until it's merged. Thanks guys!
No branches or pull requests
This does not seem to work:
The auto save happens, but the formatting does not; manually calling
vim.lsp.buf.formatting_sync()
works as expected.The text was updated successfully, but these errors were encountered: