Skip to content


Error: cannot allocate colour #12345 #7

teschmitz opened this Issue · 2 comments

2 participants


I am encountering an error when editing HTML files with numeric anchors such as:
< a href="#64759">name< /a > (stuck spaces in to prevent it being interpreted as link)

E254: cannot allocate color #64759

Is there a way to suppress the error messages? Obviously you don't know that this isn't a broken hex number. And even if it was: if it can't be colourized, it can't be colourized but having dozens of error messages and having to click continue will drive anyone insane.

For the moment, I have disabled Colorizer for html files.

I suppose all sorts of silly text that looks like a colour might occur in files and particularly if you have Colorizer on for all file types the only way to solve the issue is probably to ignore these gracefully. What do you think?

Regards, Tarlika

@chrisbra chrisbra added a commit that referenced this issue
@chrisbra Fix issue #7 9bb88fd
@chrisbra chrisbra closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.