You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The highlighting for url() seems incorrect in a strange mix of circumstances:
The line with url() is indented with tabs, not spaces.
url()'s argument uses quotes (which is sometimes necessary in Stylus, e.g., for embedded images).
url()'s argument has a character followed by an equal sign (=), such as you might see in a Base64 data URI. Not all prefix characters trigger this, but alphanumerics do.
For example, this triggers the incorrect highlighting in vim-stylus (assuming tabs for indentation):
divbackground: url("a=")
It looks like that combination triggers the assignment syntax rules, and interprets the closing quote in url("a=") as the opening quote of a string.
The text was updated successfully, but these errors were encountered:
The highlighting for
url()
seems incorrect in a strange mix of circumstances:url()
is indented with tabs, not spaces.url()
's argument uses quotes (which is sometimes necessary in Stylus, e.g., for embedded images).url()
's argument has a character followed by an equal sign (=
), such as you might see in a Base64 data URI. Not all prefix characters trigger this, but alphanumerics do.For example, this triggers the incorrect highlighting in vim-stylus (assuming tabs for indentation):
It looks like that combination triggers the assignment syntax rules, and interprets the closing quote in
url("a=")
as the opening quote of a string.The text was updated successfully, but these errors were encountered: