diff src/testdir/screendump.vim @ 13322:0dc2e4998a15 v8.0.1535

patch 8.0.1535: C syntax test still fails when using gvim commit https://github.com/vim/vim/commit/6acadda8d60892ddf06449f1cc4286912b0c0c2b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 24 16:51:32 2018 +0100 patch 8.0.1535: C syntax test still fails when using gvim Problem: C syntax test still fails when using gvim. Solution: Clear Normal cterm highlighting instead of setting it.
author Christian Brabandt <cb@256bit.org>
date Sat, 24 Feb 2018 17:00:07 +0100
parents a90063ec1cd6
children 424321d6eea7
line wrap: on
line diff
--- a/src/testdir/screendump.vim
+++ b/src/testdir/screendump.vim
@@ -19,9 +19,9 @@ func RunVimInTerminal(arguments, options
   split
   vsplit
 
-  " Always doo this with 256 colors and a light background.
-  set t_Co=256
-  hi Normal ctermfg=0 ctermbg=15
+  " Always do this with 256 colors and a light background.
+  set t_Co=256 background=light
+  hi Normal ctermfg=NONE ctermbg=NONE
 
   let cmd = GetVimCommandClean()
   " Add -v to have gvim run in the terminal (if possible)