Skip to content

Releases: skywind3000/asyncrun.vim

20240523 - v2.12.9

22 May 17:36
Compare
Choose a tag to compare
  • fixed shellslash issue in NeoVim.

20240522 - v2.12.8

21 May 16:57
Compare
Choose a tag to compare
  • Force to use "cmd.exe" as g:asyncrun_shell on Windows.

20240514 - v2.12.6

13 May 19:54
Compare
Choose a tag to compare
  • Update script_write() to write files silently to avoid displaying unnecessary messages.

20240323 - v2.12.5

22 Mar 16:54
Compare
Choose a tag to compare
  • 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

20 Feb 13:48
Compare
Choose a tag to compare

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

16 Feb 03:59
Compare
Choose a tag to compare
  • Added handling for fugitive buffers in asyncrun#fullname() function

20231001 - v2.12.2

30 Sep 18:05
Compare
Choose a tag to compare
  • accept AsyncRun :!!command to start gui programs.
  • minor issues fixed.

20230920 - v2.11.23

20 Sep 01:53
Compare
Choose a tag to compare
  • 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

20 Aug 19:12
Compare
Choose a tag to compare
  • new api g:asyncrun#current_root() can return current root directory.

20230803 - v2.11.19

03 Aug 07:50
Compare
Choose a tag to compare
  • 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