On 2018-10-31 4:29 a.m., Abel wrote:
Would it be possible to hook a command prior to save a file?
My use case: I want to "compile" or "parse" my source file to check syntax errors prior to save a python file since once it's saved, I have a web server that reloads itsel when the sources change but crashes if it finds a syntax error.
You could do it with a plugin, though it wouldn't let you not save, just to do something before save.
Regards, Matthew Brush