Releases: skywind3000/asyncrun.vim
Releases · skywind3000/asyncrun.vim
20200312 - v2.6.7
- fixed: windows - exit code is always zero.
20200311 - v2.6.6
- new:
-pos
accepts a new uppercaseTAB
to open internal terminal on the left of current tab.
20200309 - v2.6.5
- minor issues fixed.
20200308 - v2.6.2
- change: runner's argument changed from string to dictionary.
20200307 - v2.6.1
- change: clear
g:asyncrun_name
in normal quickfix jobs.
20200307 - v2.6.0
- 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
- change:
-mode=term -pos=tab
obeys-focus=0
now, try:
:AsyncRun -mode=term -pos=tab -focus=0 ls -la
20200306 - v2.5.4
- windows: fixed, passing arguments in the most correct way on windows.
- minor issues.
20200302 - v2.5.3
- new option
-silent
to prevent open quickfix window no matterg:asyncrun_open
is set or not. - new command modifier can define your own
-program=new_modifer
.
20200229 - v2.5.0
- purify and refactor, remove useless codes.
- new command modifier
g:asyncrun_program
. - the
-program=xx
supportsmsys
,mingw32
,mingw64
andcygwin
:
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.