summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/testdir/viewdumps.vim
blob: e1624ff6229784ec536f68c563dfe55880f5a056 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
vim9script

exec 'source ' .. (((cwdpath: string) => cwdpath
  ->strpart(0, cwdpath->strridx('/vim')))(getcwd()))
  .. '/vim/src/testdir/commondumps.vim'
g:Init('\<syntax\>', -1)

# THE FOLLOWING SETTINGS PERTAIN TO "input/" FILES THAT ARE LIKELY TO BE
# LOADED SIDE BY SIDE WHENEVER BATCHES OF NEW SCREENDUMPS ARE GENERATED.

# Match "LC_ALL=C" of Makefile.
language C

# Match the settings from term_util.vim#RunVimInTerminal().
set t_Co=256 background=light
hi Normal ctermfg=NONE ctermbg=NONE

# Match the settings from runtest.vim#Xtestscript#SetUpVim().
set display=lastline ruler scrolloff=5 t_ZH= t_ZR=

# Anticipate non-Latin-1 characters in "input/" files.
set encoding=utf-8 termencoding=utf-8

# vim:fdm=syntax:sw=2:ts=8:noet:nolist:nosta: