提交 33b51eb2 编写于 作者: M Martin Aeschlimann

scope inspector: semantic color rules from settings not correctly shown

上级 7d8d31a3
......@@ -162,7 +162,7 @@ export namespace SemanticTokenRule {
&& TokenStyle.equals(r1.style, r2.style);
}
export function is(r: any): r is SemanticTokenRule {
return r && r.selector && typeof r.selector.selectorString === 'string' && TokenStyle.is(r.style);
return r && r.selector && typeof r.selector.id === 'string' && TokenStyle.is(r.style);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册