chrisbra / Colorizer

color hex codes and color names
547 stars 30 forks source link

Recognise variable references in *.vim themes #92

Closed savchenko closed 2 years ago

savchenko commented 3 years ago

Hopefully this is "easier" to implement for .vim rather than for other formats. On the screenshot below hex colours are rendered as expected, however the g:terminal_color_background isn't highlighted:

image

This would be quite useful when editing theme files so that one can see colours "live" instead of bare variables:

image

chrisbra commented 2 years ago

I am sorry, this requires semantic understanding of Vim script. That is far out of scope for a simple colorizer I fear.