mirror of
https://github.com/neovim/neovim.git
synced 2026-07-10 19:39:38 +00:00
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)
5b9f57262f
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user