vim-airline/autoload
Christian Brabandt 09dbd09ed3
highlighter: handle color names when converting into msdos codes
the highlighter code tries to convert the RGB colors into appropriate
color codes for the MSDOS palette. Unfortunately, it does not consider
color names and tries to split those into a list of 3 RGB codes. This
failes for names shorter 6 characters, causing a list index out of
bounds error.

Fix this by making sure, that the color code should start with '#' and
in case it does not, assume it is a color name and simple return the
name in that case.

closes #2350
2021-03-09 13:53:38 +01:00
..
airline highlighter: handle color names when converting into msdos codes 2021-03-09 13:53:38 +01:00
airline.vim Happy new year! 2021-01-01 12:57:00 +00:00