Skip to content

Error when writing an invalid RGB color #151

Open
@Aster89

Description

@Aster89

It happened as a typo that I wrote

  background-color: rgb(100,100,256);

and I got this error

Error detected while processing CursorMoved Autocommands for "<buffer=1>"..function <SNR>88_parse_screen[4]..<SNR>88_create_syn_match[34]..<SNR>88_create_highlight:                                                                                    
line    6:
E254: Cannot allocate colour #6464100
Press ENTER or type command to continue

I understand the reason of the error, but is it intended that the plugin actually errors out (allowing a multiple lines error that pushes the whole screen up) rather than just echoing a short message and giving up on coloring the color string?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions