chrisbra / Colorizer

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

Error on toggling colours on (in Neovim) #108

Closed mxmilkiib closed 3 hours ago

mxmilkiib commented 4 hours ago

In Neovim, I used Plug to install, getting this message when I toggle the colours on;

Error detected while processing function Colorizer#ColorToggle[2]..Colorizer#DoColor[24]..<SNR>111_ColorHighlight_1[46]..function Colorizer#ColorToggle[2]..Colorizer#DoColor[24]..<SNR>111_C
olorHighlight_1:
line   39:
E121: Undefined variable: error

I have tried the auto variable and autocmd, but the colour only appears after I manually toggle. image

chrisbra commented 3 hours ago

thanks. That must have come when I was refactoring the code. Please check with latest master