Revision history [back]
How do you put a save hook into wing?
Wanting to add yapf formatting on save, but I need a way to capture the save event, run the formatter, update the buffer, then call the base save.
I see mentions about a pre-save event, but not finding any details anywhere.
How do you put a save hook into wing?
Wanting to add yapf formatting on save, but I need a way to capture the save event, run the formatter, update the buffer, then call the base save.
I see mentions about a pre-save event, but not finding any details anywhere.
How do you put a save hook into wing?
Wanting to add yapf formatting on save, but I need a way to capture the save event, run the formatter, update the buffer, then call the base save.
I save.I see mentions about a pre-save event, but not finding any details anywhere.