Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
13321:be4e25eca28f | 13322:0dc2e4998a15 |
---|---|
17 " size terminal window. Works only when we currently have one window. | 17 " size terminal window. Works only when we currently have one window. |
18 call assert_equal(1, winnr('$')) | 18 call assert_equal(1, winnr('$')) |
19 split | 19 split |
20 vsplit | 20 vsplit |
21 | 21 |
22 " Always doo this with 256 colors and a light background. | 22 " Always do this with 256 colors and a light background. |
23 set t_Co=256 | 23 set t_Co=256 background=light |
24 hi Normal ctermfg=0 ctermbg=15 | 24 hi Normal ctermfg=NONE ctermbg=NONE |
25 | 25 |
26 let cmd = GetVimCommandClean() | 26 let cmd = GetVimCommandClean() |
27 " Add -v to have gvim run in the terminal (if possible) | 27 " Add -v to have gvim run in the terminal (if possible) |
28 let cmd .= ' -v ' . a:arguments | 28 let cmd .= ' -v ' . a:arguments |
29 let buf = term_start(cmd, {'curwin': 1, 'term_rows': 20, 'term_cols': 75}) | 29 let buf = term_start(cmd, {'curwin': 1, 'term_rows': 20, 'term_cols': 75}) |