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
How can i disable auto save for specific file types like markdown?
markdown
The text was updated successfully, but these errors were encountered:
Something like this:
condition = function(buf) local fn = vim.fn local utils = require("auto-save.utils.data") if fn.getbufvar(buf, "&modifiable") == 1 and utils.not_in(fn.getbufvar(buf, "&filetype"), {"markdown"}) then return true -- met condition(s), can save end return false -- can't save end,
See the README
Sorry, something went wrong.
No branches or pull requests
How can i disable auto save for specific file types like
markdown
?The text was updated successfully, but these errors were encountered: