Releases: skywind3000/asyncrun.vim
Releases · skywind3000/asyncrun.vim
20240523 - v2.12.9
- fixed
shellslash
issue in NeoVim.
20240522 - v2.12.8
- Force to use "cmd.exe" as
g:asyncrun_shell
on Windows.
20240514 - v2.12.6
- Update script_write() to write files silently to avoid displaying unnecessary messages.
20240323 - v2.12.5
- set
g:asyncrun_mode
to 1 during creating a terminal buffer and clear it to 0 after buffer has been created. - script triggered by the
#TerminalOpen
or#TermOpen
autocmd can use it to detect if this terminal buffer is created by asyncrun.
20240220 - v2.12.4
new g:asyncrun_rooter
hook for root detection:
- each item in the
g:asyncrun_rooter
dictionary is a function pointer (or name). - each function will be called to detect current buffer's root directory, until find one valid result.
- returns empty string to skip, see the example
let g:asyncrun_rooter = get(g:, 'asyncrun_rooter', {})
function! g:asyncrun_rooter.mydetect()
if unable_to_detect
return ''
endif
return '/path/to/root'
endfunc
20240216 - v2.12.3
- Added handling for fugitive buffers in
asyncrun#fullname()
function
20231001 - v2.12.2
- accept
AsyncRun :!!command
to start gui programs. - minor issues fixed.
20230920 - v2.11.23
- added try/catch for Ex commands (starting with colon), eg.
:AsyncRun :echo 123
and display exception if failed. - fixed minor issues.
20230821 - v2.11.20
- new api
g:asyncrun#current_root()
can return current root directory.
20230803 - v2.11.19
- new
-init=script
option to run a init script for terminal task after successfully opening the terminal window:
:AsyncRun -mode=term -pos=right -init=setlocal\ ft=myterminit bash
- new
-ft=filetype
option to set filetype for a terminal buffer:
:AsyncRun -mode=term -pos=right -ft=myterminit bash