File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 3
3
" Maintainer: skywind3000 (at) gmail.com, 2016-2022
4
4
" Homepage: https://github.com/skywind3000/asyncrun.vim
5
5
"
6
- " Last Modified: 2022/11/29 05:24
6
+ " Last Modified: 2022/11/29 07:05
7
7
"
8
8
" Run shell command in background and output to quickfix:
9
9
" :AsyncRun[!] [options] {cmd} ...
@@ -1619,7 +1619,9 @@ function! s:start_in_terminal(opts)
1619
1619
if focus == 0
1620
1620
if has (' nvim' )
1621
1621
stopinsert
1622
- exec ' normal! ggG'
1622
+ if get (a: opts , ' scroll' , 1 )
1623
+ exec ' normal! ggG'
1624
+ endif
1623
1625
endif
1624
1626
let last_tid = tabpagenr (' #' )
1625
1627
if last_tid > 0
@@ -1668,7 +1670,9 @@ function! s:start_in_terminal(opts)
1668
1670
if focus == 0 && hr >= 0
1669
1671
if has (' nvim' )
1670
1672
stopinsert
1671
- exec ' normal! ggG'
1673
+ if get (a: opts , ' scroll' , 1 )
1674
+ exec ' normal! ggG'
1675
+ endif
1672
1676
endif
1673
1677
call win_gotoid (origin)
1674
1678
endif
@@ -2235,7 +2239,7 @@ endfunc
2235
2239
" asyncrun - version
2236
2240
" ----------------------------------------------------------------------
2237
2241
function ! asyncrun#version ()
2238
- return ' 2.11.13 '
2242
+ return ' 2.11.14 '
2239
2243
endfunc
2240
2244
2241
2245
You can’t perform that action at this time.
0 commit comments