I'm unsure of when this started, but there may be a bug in EventListener.
I wrote a simple plugin in this thread to go to Vintage command mode on save.
import sublime, sublime_plugin
def on_post_save(self, view):
On save, the view does indeed exit insert mode. But the view is still marked as dirty, even though the file was written. If I Ctrl+S again (from command mode), the tab indicator goes to an "X" as expected, but we've written the file twice.
Can anyone replicate the issue? Is my plugin written incorrectly?