diff --git a/src/css.ts b/src/css.ts index d30efd8c..4e2a704a 100644 --- a/src/css.ts +++ b/src/css.ts @@ -145,7 +145,7 @@ export var language = { ], units: [ - ['(em|ex|ch|rem|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?', 'constant.numeric', '@pop'] + ['(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?', 'constant.numeric', '@pop'] ], keyframedeclaration: [ diff --git a/src/less.ts b/src/less.ts index f673dc4b..cafd76e5 100644 --- a/src/less.ts +++ b/src/less.ts @@ -144,7 +144,7 @@ export var language = { ], units: [ - ['((em|ex|ch|rem|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)\\b)?', TOKEN_VALUE + '.unit', '@pop'] + ['((em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)\\b)?', TOKEN_VALUE + '.unit', '@pop'] ], strings: [ diff --git a/src/scss.ts b/src/scss.ts index 931aa8d2..bb651098 100644 --- a/src/scss.ts +++ b/src/scss.ts @@ -184,7 +184,7 @@ export var language = { ], units: [ - ['(em|ex|ch|rem|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?', 'constant.numeric', '@pop'] + ['(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?', 'constant.numeric', '@pop'] ], functiondeclaration: [