chrisbra / Colorizer

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

3ac2e7 breaks coloring in neovim #44

Closed sencer closed 8 years ago

sencer commented 8 years ago

The commit for basic neovim support, 3ac2e7, actually results in not coloring at all in neovim, in my case. I can revert to previous commit, to make it work again -although without true color support.

chrisbra commented 8 years ago

So reverting it, will enable the plugin again for neovim?

sencer commented 8 years ago

Yes, it would. I don't understand the problem though.

chrisbra commented 8 years ago

Do you know, if there is a way, to detect if neovim is running in true color support?

sencer commented 8 years ago

I am not sure if this is what you are asking, but one should set environment variable NVIM_TUI_ENABLE_TRUE_COLOR=1 for the true color support.

sencer commented 8 years ago

Actually, sorry for stealing your time: I found it was a problem with my configuration, which overrides NVIM_TUI_ENABLE_TRUE_COLOR=1. Still, you might want to check if this is set though. Best!

chrisbra commented 8 years ago

thanks. I have pushed a fix, that should make it work with true colors in the terminal.