Skip to content

Commit cca10c3

Browse files
committed
Add property value delimiter token for /
1 parent d8f9295 commit cca10c3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/vscode-css/grammars/css.cson

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,6 +1710,16 @@
17101710
'match': '!\\s*important(?![\\w-])'
17111711
'name': 'keyword.other.important.css'
17121712
}
1713+
{
1714+
'match': '''(?xi)
1715+
# Match a slash as a property value delimiter if it's not enclosed by parentheses
1716+
(?:
1717+
(?<!\\([^\\)]*)
1718+
/
1719+
)
1720+
'''
1721+
'name': 'meta.property-value.delimiter.css'
1722+
}
17131723
]
17141724
'pseudo-classes':
17151725
'captures':

0 commit comments

Comments
 (0)