Skip to content

20200307 - v2.6.0

Compare
Choose a tag to compare
@skywind3000 skywind3000 released this 07 Mar 04:34
· 228 commits to master since this release
  • change: -post=xxx is available in terminal mode
  • new: -pos=hide in terminal mode
  • new: -name=abc to specify a name for terminal task
  • new: g:asyncrun_name to get terminal task name.

example:

:AsyncRun -mode=term -pos=hide -name=abc -post=echo\ g:asyncrun_name   ls -la

When it finished, script in -post=? will be executed and the name abc will display, while g:asyncrun_code stores the exit code.