How do I attach a callback to
:NeomakeProject so that
:cwindow is executed after compilation finishes?
i.e. I'm too lazy and want everything (open the error list) to happen automatically. (currently I'm opening :cwindow with a shortcut)
:help neomake shows that
neomake#Make() accepts a callback as third argument but this doesn't seem to be connected to my problem as it's a function, called internally by
Googling for "neovim job control" shows that callbacks are set as argument to the
jobstart function. A search for
jobstart in the neomake repository shows that neomake sets
neomake#MakeHandler as a callback. And the fact that this function is 98 lines long stopped my further research.