mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
runtime(syntax-tests): include missing changes
related: #14215 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
ef21bcaab1
commit
a2addebca3
@@ -149,17 +149,18 @@ func RunTest()
|
||||
|
||||
func SetUpVim()
|
||||
call cursor(1, 1)
|
||||
" Defend against rogue TEST_SETUP commands.
|
||||
" Defend against rogue VIM_TEST_SETUP commands.
|
||||
for _ in range(20)
|
||||
let lnum = search('\<TEST_SETUP\>', 'eW', 20)
|
||||
let lnum = search('\C\<VIM_TEST_SETUP\>', 'eW', 20)
|
||||
if lnum < 1
|
||||
break
|
||||
endif
|
||||
exe substitute(getline(lnum), '.*TEST_SETUP', '', '')
|
||||
exe substitute(getline(lnum), '\C.*\<VIM_TEST_SETUP\>', '', '')
|
||||
endfor
|
||||
call cursor(1, 1)
|
||||
" BEGIN [runtime/defaults.vim]
|
||||
set display=truncate ruler scrolloff=5
|
||||
" Also, disable italic highlighting to avoid issues on some terminals.
|
||||
set display=truncate ruler scrolloff=5 t_ZH= t_ZR=
|
||||
syntax on
|
||||
" END [runtime/defaults.vim]
|
||||
redraw!
|
||||
|
Reference in New Issue
Block a user