Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement: let g:asyncrun_status contain command called by AsyncRun #99

Open
Konfekt opened this issue Apr 16, 2018 · 5 comments
Open

Comments

@Konfekt
Copy link

Konfekt commented Apr 16, 2018

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.

@skywind3000
Copy link
Owner

Some people just need a short status indicator, what about a new variable to represent last command ?

@Konfekt
Copy link
Author

Konfekt commented Apr 16, 2018

Yeah, that perfectly solves it.

@skywind3000
Copy link
Owner

check out latest version, its name is g:asyncrun_info

@Konfekt
Copy link
Author

Konfekt commented Apr 16, 2018

Some thoughts:

  • In case of -program=make -auto=make, it shows -program=make -auto=make. More informative would be simple make. Similarly for -program=grep.
  • Perhaps listing the parameters is not necessary?! At least for the statusline, that is.
  • The feature seems yet undocumented.

@Konfekt
Copy link
Author

Konfekt commented Apr 16, 2018

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 #96 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants