This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Description
Prerequisites
Description
For hex colors beginning with a letter, the subsequent semicolon gets the scope invalid.illegal.bad-identifier.css:
@property --light-blue { syntax : '<color>' ; inherits : false; initial-value : # ace ; }
For hex colors beginning with a number, the subsequent semicolon gets the scope meta.selector.css, as it seems like it should:
@property --dark-gray { syntax : '<color>' ; inherits : false; initial-value : # 123 ; }
Steps to Reproduce
Use the following two examples to compare the scope value of the final semicolon:
@property --light-blue { syntax : '<color>' ; inherits : false; initial-value : # ace ; }
@property --dark-gray { syntax : '<color>' ; inherits : false; initial-value : # 123 ; }
Expected behavior:
Semicolon is meta.selector.css.
Actual behavior:
Semicolon is invalid.illegal.bad-identifier.css.
Reproduces how often:
100%
Additional Information
Originally from @tomasmoberg in microsoft/vscode#130826
Reactions are currently unavailable
Prerequisites
Description
For hex colors beginning with a letter, the subsequent semicolon gets the scope
invalid.illegal.bad-identifier.css:For hex colors beginning with a number, the subsequent semicolon gets the scope
meta.selector.css, as it seems like it should:Steps to Reproduce
Expected behavior:
Semicolon is
meta.selector.css.Actual behavior:
Semicolon is
invalid.illegal.bad-identifier.css.Reproduces how often:
100%
Additional Information
Originally from @tomasmoberg in microsoft/vscode#130826