Skip to content

Commit

Permalink
Merge pull request #107 from georgezzhang/master
Browse files Browse the repository at this point in the history
Adding vmax, fr units to syntax definition
  • Loading branch information
braver authored Mar 11, 2018
2 parents 8f9915b + 3979fa0 commit 44450fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LESS.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ contexts:
scope: constant.other.color.rgb-value.css
captures:
1: punctuation.definition.constant.css
- match: '(?x)(?:-|\+)?(?:(?:[0-9]+(?:\.[0-9]+)?)|(?:\.[0-9]+))((?:vw|vmin|vh|turn|s|rem|rad|px|pt|pc|ms|mm|in|grad|ex|em|dppx|dpi|dpcm|deg|cm|ch)\b|%)?'
- match: '(?x)(?:-|\+)?(?:(?:[0-9]+(?:\.[0-9]+)?)|(?:\.[0-9]+))((?:vw|vmin|vmax|vh|turn|s|rem|rad|px|pt|pc|ms|mm|in|grad|fr|ex|em|dppx|dpi|dpcm|deg|cm|ch)\b|%)?'
scope: constant.numeric.css
captures:
1: keyword.other.unit.css
Expand Down

0 comments on commit 44450fb

Please sign in to comment.