Skip to content

Releases: skywind3000/asyncrun.vim

20200312 - v2.6.7

12 Mar 11:00
Compare
Choose a tag to compare
  • fixed: windows - exit code is always zero.

20200311 - v2.6.6

11 Mar 07:03
Compare
Choose a tag to compare
  • new: -pos accepts a new uppercase TAB to open internal terminal on the left of current tab.

20200309 - v2.6.5

09 Mar 08:42
Compare
Choose a tag to compare
  • minor issues fixed.

20200308 - v2.6.2

08 Mar 01:52
Compare
Choose a tag to compare
  • change: runner's argument changed from string to dictionary.

20200307 - v2.6.1

07 Mar 05:11
Compare
Choose a tag to compare
  • change: clear g:asyncrun_name in normal quickfix jobs.

20200307 - v2.6.0

07 Mar 04:34
Compare
Choose a tag to compare
  • 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.

20200307 - v2.5.5

06 Mar 22:00
Compare
Choose a tag to compare
  • change: -mode=term -pos=tab obeys -focus=0 now, try:
:AsyncRun -mode=term -pos=tab -focus=0    ls -la

20200306 - v2.5.4

06 Mar 13:54
Compare
Choose a tag to compare
  • windows: fixed, passing arguments in the most correct way on windows.
  • minor issues.

20200302 - v2.5.3

01 Mar 17:27
Compare
Choose a tag to compare
  • new option -silent to prevent open quickfix window no matter g:asyncrun_open is set or not.
  • new command modifier can define your own -program=new_modifer.

20200229 - v2.5.0

28 Feb 19:04
Compare
Choose a tag to compare
  • purify and refactor, remove useless codes.
  • new command modifier g:asyncrun_program.
  • the -program=xx supports msys, mingw32, mingw64 and cygwin:

Try this on windows:

:let g:asyncrun_msys = 'd:/msys32'
:AsyncRun -program=msys ls -l && echo $(MSYS_CWD)
:AsyncRun -mode=term -program=mingw32 ls -l && echo $(MSYS_ROOT)

The -program=xx can be totally customized now:

:let g:asyncrun_program.display = { opts -> 'echo ' . opts.cmd }
:AsyncRun -program=display ls -la

The origin command ls -la will be modified to echo ls -la in the display modifier.

The msys, mingw32 and wsl are implemented as command modifiers.