chrisbra / Colorizer

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

Support for `highlight` definitions (vim syntax files, :highlight output) #34

Closed blueyed closed 10 years ago

blueyed commented 10 years ago

See my quite old fork of hexHighlight: https://github.com/blueyed/colorhighlight.vim

It basically looks for highlight definitions and applies colors using matchadd.

It handles links, HiLink and HtmlHiLink used in runtime files and the output from :highlight.

The code is only in https://github.com/blueyed/colorhighlight.vim/blob/master/plugin/colorhighlight.vim .

It would be very nice, if this could be integrated into Colorizer - I basically only have committed some old changes now to propose it for merging.. :)

What do you think? Any pointers or ideas about how to integrate this?

chrisbra commented 10 years ago

I'll look into this.

blueyed commented 10 years ago

Awesome! Thanks!