If filename is composer.json runs after saving command ``` shell composer validate ``` And if it return 0 (error) open horizontal split with command output
Activity
sensorario commentedon Sep 18, 2015
Run a command after saving a file:
http://vimdoc.sourceforge.net/htmldoc/autocmd.html#FilterWritePost
Get current filename:
http://vimdoc.sourceforge.net/htmldoc/eval.html#expand()
Open horizontal split with command output
... I've seen
:copencommand, but I need a bit of investigation of it ...