Skip to content

Commit 42385d5

Browse files
author
skywind3000
committed
update asyncrun.vim
1 parent 0f99f96 commit 42385d5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

plugin/asyncrun.vim

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
" Maintainer: skywind3000 (at) gmail.com, 2016-2023
44
" Homepage: https://github.com/skywind3000/asyncrun.vim
55
"
6-
" Last Modified: 2023/08/03 15:40
6+
" Last Modified: 2023/08/21 02:03
77
"
88
" Run shell command in background and output to quickfix:
99
" :AsyncRun[!] [options] {cmd} ...
@@ -1206,6 +1206,10 @@ function! asyncrun#get_root(path, ...)
12061206
return l:hr
12071207
endfunc
12081208

1209+
function! asyncrun#current_root()
1210+
return asyncrun#get_root('%')
1211+
endfunc
1212+
12091213
function! asyncrun#path_join(home, name)
12101214
return s:path_join(a:home, a:name)
12111215
endfunc
@@ -2261,7 +2265,7 @@ endfunc
22612265
" asyncrun - version
22622266
"----------------------------------------------------------------------
22632267
function! asyncrun#version()
2264-
return '2.11.19'
2268+
return '2.11.20'
22652269
endfunc
22662270

22672271

0 commit comments

Comments
 (0)