Skip to content
New issue

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

disable autocmd on file write #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sim590
Copy link

@sim590 sim590 commented Jan 20, 2017

As many people do, I have a some autocommands executing when buffer writes to the disk. I don't see any use case where you would like to keep these autocommands when using this plugin, but I may certainly be wrong. If the user wants to trigger his autocommands, he can simply call :write himself.

If there's a use case for autocommands, I could add a global config variable for supporting both behaviors.

@907th
Copy link
Owner

907th commented Jan 20, 2017

Hello, @sim590! Thank you for your commit!
This seems to be a breaking change. May be it should be a configuration option g:auto_save_noautocmd which controls this behaviour?

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.

2 participants