]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(colors): color names in the v:colornames dict should be lower cased
authorChristian Brabandt <cb@256bit.org>
Mon, 5 Feb 2024 09:30:01 +0000 (10:30 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 5 Feb 2024 09:34:26 +0000 (10:34 +0100)
commit0f4054feb66ea55414f97add63b3070d7d7b5295
tree4b632c5a1ef083d216d8fe3daf35f201748bb1f2
parentde7f5bde6c598d4da4ce5b30328eb458962ba60a
runtime(colors): color names in the v:colornames dict should be lower cased

Vim will lookup color names from the v:colornames dictionary by its
lower case color name. So when sourcing the v:colornames dictionary,
make sure to convert upper case color names to lower case.

Also, while at it, mention in the documentation, that the dictionary
should contain lower case names only.

fixes: #13976
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/colors/lists/csscolors.vim
runtime/colors/lists/default.vim
runtime/doc/eval.txt
runtime/doc/syntax.txt