vim-composer icon indicating copy to clipboard operation
vim-composer copied to clipboard

Validate json after save

Open gianarb opened this issue 10 years ago • 1 comments

If filename is composer.json runs after saving command

composer validate

And if it return 0 (error) open horizontal split with command output

gianarb avatar Apr 16 '15 15:04 gianarb

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 :copen command, but I need a bit of investigation of it ...

sensorario avatar Sep 18 '15 12:09 sensorario