You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Either that the scope keyword is not working, or it's my brain that's not working.
I wanted to make the and logical operator to be prettified and not inside a string when I'm working in Python, so I put a "scope": "keyword.operator.logical.pretty" inside the substitutions key, I.E:
I find that vscode Extension Host have an error when we use scope in config file, [error] TypeError: this._options.loadGrammar is not a function. I searched in this repo, I could not find this function.
I found out that there is a loadGrammar function in extension.ts of parent repo, maybe the author delete this function due to some reason. text-mate.ts
Either that the scope keyword is not working, or it's my brain that's not working.
I wanted to make the
and
logical operator to be prettified and not inside a string when I'm working in Python, so I put a"scope": "keyword.operator.logical.pretty"
inside thesubstitutions
key, I.E:{ "ugly": "and", "scope": "keyword.operator.logical.python", "pretty": "∧", "pre": "\\s|^", "post": "\\s|$", "style": {"color": "#F92672"} }
but, after putting the scope there, not only did the
and
logical operator doesn't get prettified, literally everything stops getting prettified.The text was updated successfully, but these errors were encountered: