Skip to content

Commit 338f952

Browse files
committed
microsoft#6765 fix LESS textmate grammar to support css variables
1 parent a6ead17 commit 338f952

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎extensions/less/syntaxes/LESS.tmLanguage‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@
376376
</dict>
377377
<dict>
378378
<key>match</key>
379-
<string>@[a-zA-Z0-9_-][\w-]*</string>
379+
<string>(@[a-zA-Z0-9_-][\w-]*)|(\-\-[^:\),]+)</string>
380380
<key>name</key>
381381
<string>variable.other.less</string>
382382
</dict>

0 commit comments

Comments
 (0)