lilydjwg / colorizer

A Vim plugin to colorize all text in the form #rrggbb or #rgb.
352 stars 25 forks source link

Feature request: colorize vim highlight lines as well #21

Open sagotsky opened 9 years ago

sagotsky commented 9 years ago

My .vimrc and theme files are full of things like:

  highlight VertSplit       ctermfg=235 ctermbg=235
  highlight SpellBad          ctermfg=229 cterm=underline
  hi normal ctermbg=black
  hi Pmenu                     ctermfg=gray ctermbg=235 gui=NONE
  hi PmenuSel                  ctermfg=white ctermbg=236 gui=NONE

They're almost completely meaningless to me.

I would love it if this plugin could highlight those as well. I figure this part of the plugin could only target buffers where filetype=vim and even within that only numbers following a ctermfg or ctermbg.

Thanks!

lilydjwg commented 9 years ago

It's a nice idea, but targeting specific filetypes is not very easy because the highlights are local to windows. It's doable, but it's long since last time I touched the code, and I meant to rewrite it but didn't have the time and push to do it.

Maybe you can give coloresque a try?

sagotsky commented 9 years ago

No problem, thanks for getting back to me. I hadn't heard of coloresque yet.

On Tue, Mar 24, 2015 at 9:25 AM, 依云 notifications@github.com wrote:

It's a nice idea, but targeting specific filetypes is not very easy because the highlights are local to windows. It's doable, but it's long since last time I touched the code, and I meant to rewrite it but didn't have the time and push to do it.

Maybe you can give coloresque https://github.com/gorodinskiy/vim-coloresque a try?

— Reply to this email directly or view it on GitHub https://github.com/lilydjwg/colorizer/issues/21#issuecomment-85494275.

pickfire commented 9 years ago

You can also try https://github.com/chrisbra/NrrwRgn, although it is a bit slower.

chrisbra commented 8 years ago

You mean https://github.com/chrisbra/Colorizer ? Why do you think it is slower?

pickfire commented 8 years ago

@chrisbra Maybe because it have more features?