microsoft/TypeScript-Sublime-Plugin

Wrong scope "support.variable.property.dom"

sultan-ov opened this issue · 1 comments

Properties of my own object fall under the scope of "support.variable.property.dom":

screenshot_wrong_scope_1

This covers a significant number of commonly used words:

screenshot_wrong_scope_2

This clearly looks like a bug.
I cannot fix this in my color scheme for example by changing the "foreground" to my normal property color because if I define "name" property as a functional expression it still falls under "support.variable.property.dom" and does not change to "entity.name.function" as it happens with normal properties and as a result is not colored in my function color:

screenshot_wrong_scope_3

screenshot_wrong_scope_4

Moved to TypeScript-TmLanguage repo issues #879