chrisbra / Colorizer

color hex codes and color names
549 stars 31 forks source link

can't get it to highlight terminal escape sequences #69

Closed mkoura closed 5 years ago

mkoura commented 5 years ago

Highlighting works for e.g. css files, but I cant get it to work with escape sequences. E.g. the example with r! ls -la --color and then ColorHighlight does nothing, echo &t_Co returns 256, echo getmatches() returns empty result.

How to debug what's wrong?

chrisbra commented 5 years ago

Ah, it looks like 160ce308b7e7619ce2517e955 broke it. Let me fix this (and make sure to use :ColorHighlight in a buffer with text or empty filetype).

mkoura commented 5 years ago

Thanks for quick response, works now!