File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 3
3
" Maintainer: skywind3000 (at) gmail.com, 2016-2021
4
4
" Homepage: https://github.com/skywind3000/asyncrun.vim
5
5
"
6
- " Last Modified: 2021/12/24 03:34
6
+ " Last Modified: 2021/12/24 05:22
7
7
"
8
8
" Run shell command in background and output to quickfix:
9
9
" :AsyncRun[!] [options] {cmd} ...
@@ -1436,7 +1436,11 @@ function! s:start_in_terminal(opts)
1436
1436
if hr >= 0
1437
1437
if focus == 0
1438
1438
exec has (' nvim' )? ' stopinsert' : ' '
1439
- exec ' tabprevious'
1439
+ if pos == # ' TAB'
1440
+ exec ' tabnext'
1441
+ else
1442
+ exec ' tabprevious'
1443
+ endif
1440
1444
endif
1441
1445
endif
1442
1446
return 0
@@ -2042,7 +2046,7 @@ endfunc
2042
2046
" asyncrun - version
2043
2047
" ----------------------------------------------------------------------
2044
2048
function ! asyncrun#version ()
2045
- return ' 2.9.6 '
2049
+ return ' 2.9.7 '
2046
2050
endfunc
2047
2051
2048
2052
You can’t perform that action at this time.
0 commit comments