From d40c07511ad220c08cd2803921346c889da74a44 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 20 Jun 2026 22:42:07 -0400 Subject: [PATCH] vim-patch:9.0.1328: error when using "none" for GUI color is confusing (#40347) Problem: Error when using "none" for GUI color is confusing. Solution: Mention that the name should perhaps be "NONE". (closes vim/vim#1400) https://github.com/vim/vim/commit/5b9f57262fdadf460e6355abf1eee95b4f96abe8 Co-authored-by: Bram Moolenaar --- test/old/testdir/test_highlight.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/old/testdir/test_highlight.vim b/test/old/testdir/test_highlight.vim index 56c7a9656f..1882ccfc90 100644 --- a/test/old/testdir/test_highlight.vim +++ b/test/old/testdir/test_highlight.vim @@ -39,6 +39,10 @@ func Test_highlight() call assert_equal("Group3 xxx cleared", \ split(execute("hi Group3"), "\n")[0]) call assert_fails("hi Crash term='asdf", "E475:") + + if has('gui_running') + call assert_fails('hi NotUsed guibg=none', 'E1361:') + endif endfunc func HighlightArgs(name)