Skip to content

Conversation

@mpcjanssen
Copy link

Check for a buffer specific b:auto_save value next to g:auto_save. This allows easy per filetype autosave using autocommands. For example:

augroup todo
  autocmd!
  autocmd filetype todo let b:auto_save = 1
augroup END

@907th
Copy link
Owner

907th commented Feb 26, 2019

@mpcjanssen That is great! Thank you very much!

@907th 907th merged commit 3aa64d2 into 907th:master Feb 26, 2019
mpcjanssen added a commit to mpcjanssen/vim-auto-save that referenced this pull request Feb 27, 2019
@mpcjanssen mpcjanssen mentioned this pull request Feb 27, 2019
mpcjanssen added a commit to mpcjanssen/vim-auto-save that referenced this pull request Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants