Mercurial > vim
comparison src/testdir/test_syntax.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 |
---|---|
426 hi Normal ctermbg=4 | 426 hi Normal ctermbg=4 |
427 call assert_equal('light', &bg) | 427 call assert_equal('light', &bg) |
428 set bg=dark | 428 set bg=dark |
429 hi Normal ctermbg=12 | 429 hi Normal ctermbg=12 |
430 call assert_equal('dark', &bg) | 430 call assert_equal('dark', &bg) |
431 | |
432 hi Normal ctermbg=NONE | |
431 endfunc | 433 endfunc |
432 | 434 |
433 func Test_syntax_hangs() | 435 func Test_syntax_hangs() |
434 if !has('reltime') || !has('float') || !has('syntax') | 436 if !has('reltime') || !has('float') || !has('syntax') |
435 return | 437 return |