chrisbra / Colorizer

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

neovim highlighting not working after #73 #74

Closed nickspoons closed 5 years ago

nickspoons commented 5 years ago

See comments in #73 - highlighting is no longer working in neovim:

broken-highlighting

nickspoons commented 5 years ago

Debugging this a bit, the command being executed in line 1661 is the following:

 hi Color_000000_98c379 guifg=#000000 guibg=#98c379 guibg= guifg=

This is clearly wrong, and I suspect the difference between Vim and neovim here is how they handle the duplicate guibg/guifg