enhancement: let g:asyncrun_status contain command called by AsyncRun
The status line indicator g:asyncrun_status could be more expressive if it contained the command called, for example
running grep
if AsyncRun grep was called.
Some people just need a short status indicator, what about a new variable to represent last command ?
Yeah, that perfectly solves it.
check out latest version, its name is g:asyncrun_info
Some thoughts:
- In case of
-program=make -auto=make, it shows-program=make -auto=make. More informative would be simplemake. Similarly for-program=grep. - Perhaps listing the parameters is not necessary?! At least for the statusline, that is.
- The feature seems yet undocumented.
As a general observation:
The solution -program=make/grep to call make/grep is incoherent with all other commands. You should think about adding a command AsyncMake/Grep and using &make/grepprg instead, as proposed in https://github.com/skywind3000/asyncrun.vim/issues/96 .