chrisbra / Colorizer

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

neovim highlighting not working after #73 #74

Closed nickspoons closed 4 years ago

nickspoons commented 4 years ago

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

broken-highlighting

nickspoons commented 4 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