Skip to content

Commit 58d23e7

Browse files
author
skywind3000
committed
project root of current file can be overshadowed by (b:|t:|g:)asyncrun_root
1 parent dacc708 commit 58d23e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugin/asyncrun.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
" Maintainer: skywind3000 (at) gmail.com, 2016, 2017, 2018, 2019, 2020
44
" Homepage: http://www.vim.org/scripts/script.php?script_id=5431
55
"
6-
" Last Modified: 2020/04/09 09:59
6+
" Last Modified: 2020/04/09 11:13
77
"
88
" Run shell command in background and output to quickfix:
99
" :AsyncRun[!] [options] {cmd} ...
@@ -1039,7 +1039,7 @@ function! s:find_root(path, markers, strict)
10391039
endwhile
10401040
return ''
10411041
endfunc
1042-
if a:path == '%' || a:path == ''
1042+
if a:path == '%'
10431043
if exists('b:asyncrun_root') && b:asyncrun_root != ''
10441044
return b:asyncrun_root
10451045
elseif exists('t:asyncrun_root') && t:asyncrun_root != ''
@@ -1860,7 +1860,7 @@ endfunc
18601860
" asyncrun - version
18611861
"----------------------------------------------------------------------
18621862
function! asyncrun#version()
1863-
return '2.7.4'
1863+
return '2.7.5'
18641864
endfunc
18651865

18661866

0 commit comments

Comments
 (0)