mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 02:16:12 +08:00
09dbd09ed3
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 |
||
---|---|---|
.. | ||
extensions | ||
formatter | ||
themes | ||
async.vim | ||
builder.vim | ||
debug.vim | ||
extensions.vim | ||
highlighter.vim | ||
init.vim | ||
msdos.vim | ||
parts.vim | ||
section.vim | ||
themes.vim | ||
util.vim |