Description
SCSS selectors that include parenthesized pseudo-classes are not highlighted as selectors.
Note that CSS does not have this issue.
Example
Triggers the bug:
foo :foo() bar {
}
Does not trigger the bug:
foo :foo bar {
}
Workaround
This appears to fix it in my setup (simply removing () from [^@;{}()\s], but not sure whether it breaks something else (@golmote any idea why that avoids parens?):
Information:
Description SCSS selectors that include parenthesized pseudo-classes are not highlighted as selectors. Note that CSS does not have this issue.
Example
Triggers the bug:
Does not trigger the bug:
Workaround
This appears to fix it in my setup (simply removing
()
from[^@;{}()\s]
, but not sure whether it breaks something else (@golmote any idea why that avoids parens?):