Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Commit 56bc1a6

Browse files
committed
Check against "variable" string for font name in addition to the existing checkings.
1 parent 795a5e3 commit 56bc1a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cssModeSupport.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ define(function (require, exports, module) {
3535
}
3636

3737
function isFontNameToken(t) {
38-
return t.className === "variable-2" || t.className === "string-2";
38+
return t.className === "variable" || t.className === "variable-2" || t.className === "string-2";
3939
}
4040

4141
function isFontNameStringToken(t) {

0 commit comments

Comments
 (0)