Skip to content

Commit 89ca34b

Browse files
author
skywind3000
committed
set norelnumber for terminal window
1 parent c100d05 commit 89ca34b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

plugin/asyncrun.vim

Lines changed: 6 additions & 6 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/01/18 14:01
6+
" Last Modified: 2020/01/20 16:11
77
"
88
" Run shell command in background and output to quickfix:
99
" :AsyncRun[!] [options] {cmd} ...
@@ -1090,10 +1090,10 @@ function! s:start_in_terminal(opts)
10901090
else
10911091
exec cmd . ' ' . command
10921092
endif
1093-
setlocal nonumber signcolumn=no
1093+
setlocal nonumber signcolumn=no norelativenumber
10941094
else
10951095
exec 'tabe term://'. fnameescape(command)
1096-
setlocal nonumber signcolumn=no
1096+
setlocal nonumber signcolumn=no norelativenumber
10971097
startinsert
10981098
endif
10991099
return 0
@@ -1131,10 +1131,10 @@ function! s:start_in_terminal(opts)
11311131
else
11321132
exec cmd . ' ++kill=term ' . command
11331133
endif
1134-
setlocal nonumber signcolumn=no
1134+
setlocal nonumber signcolumn=no norelativenumber
11351135
else
11361136
exec 'term '. command
1137-
setlocal nonumber signcolumn=no
1137+
setlocal nonumber signcolumn=no norelativenumber
11381138
startinsert
11391139
endif
11401140
if focus == 0
@@ -1523,7 +1523,7 @@ endfunc
15231523
" asyncrun -version
15241524
"----------------------------------------------------------------------
15251525
function! asyncrun#version()
1526-
return '2.2.0'
1526+
return '2.2.1'
15271527
endfunc
15281528

15291529

0 commit comments

Comments
 (0)