diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-12-03 11:59:00 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-03 11:59:00 +0800 |
| commit | 0d885247b03439ee3aff4c0b9ec095a29bb21759 (patch) | |
| tree | 8b3d8419bcfe2408ead3aaf1da73f05835292212 /test/old | |
| parent | 481a3158866638946c91fab28ae5bca97ff1e814 (diff) | |
| parent | 64a14026d76ba1798d91e15a941fcb6af7cbc5ad (diff) | |
| download | rneovim-0d885247b03439ee3aff4c0b9ec095a29bb21759.tar.gz rneovim-0d885247b03439ee3aff4c0b9ec095a29bb21759.tar.bz2 rneovim-0d885247b03439ee3aff4c0b9ec095a29bb21759.zip | |
Merge pull request #26334 from echasnovski/default-colorscheme
feat(highlight): update default color scheme
Diffstat (limited to 'test/old')
| -rw-r--r-- | test/old/testdir/setup.vim | 3 | ||||
| -rw-r--r-- | test/old/testdir/test_highlight.vim | 1 | ||||
| -rw-r--r-- | test/old/testdir/test_syntax.vim | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/test/old/testdir/setup.vim b/test/old/testdir/setup.vim index 7546b342e6..091fb95806 100644 --- a/test/old/testdir/setup.vim +++ b/test/old/testdir/setup.vim @@ -93,3 +93,6 @@ let $HOME = expand(getcwd() . '/XfakeHOME') if !isdirectory($HOME) call mkdir($HOME) endif + +" Use Vim's default color scheme +colorscheme vim diff --git a/test/old/testdir/test_highlight.vim b/test/old/testdir/test_highlight.vim index a83dc34063..f7f4d9832b 100644 --- a/test/old/testdir/test_highlight.vim +++ b/test/old/testdir/test_highlight.vim @@ -810,6 +810,7 @@ endfunc " Test for :highlight command errors func Test_highlight_cmd_errors() if has('gui_running') || has('nvim') + hi! Normal ctermfg=NONE ctermbg=NONE " This test doesn't fail in the MS-Windows console version. call assert_fails('hi Xcomment ctermfg=fg', 'E419:') call assert_fails('hi Xcomment ctermfg=bg', 'E420:') diff --git a/test/old/testdir/test_syntax.vim b/test/old/testdir/test_syntax.vim index 76a21adc57..10dc798df7 100644 --- a/test/old/testdir/test_syntax.vim +++ b/test/old/testdir/test_syntax.vim @@ -214,7 +214,7 @@ endfunc func Test_echohl_completion() call feedkeys(":echohl no\<C-A>\<C-B>\"\<CR>", 'tx') " call assert_equal('"echohl NonText Normal none', @:) - call assert_equal('"echohl NonText Normal NormalFloat none', @:) + call assert_equal('"echohl NonText Normal NormalFloat NormalNC none', @:) endfunc func Test_syntax_arg_skipped() |