Skip to content

Commit c1bcce0

Browse files
committed
Allow :global after operators
1 parent 726f0b1 commit c1bcce0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ function localizeNode(node, context) {
4646
context.lastWasSpacing = true;
4747
return node;
4848

49+
case "operator":
50+
context.lastWasSpacing = true;
51+
return node;
52+
4953
case "pseudo-class":
5054
if (node.name === "local" || node.name === "global") {
5155
if (context.inside) {

0 commit comments

Comments
 (0)