We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcf642b commit 2785754Copy full SHA for 2785754
test/PowerShellEditorServices.Test/Language/SemanticTokenTest.cs
@@ -114,7 +114,11 @@ function Get-A*A {
114
Assert.Single(mappedTokens, sToken => SemanticTokenType.Keyword == sToken.Type);
115
break;
116
case "Get-A*A":
117
- Assert.Single(mappedTokens, sToken => SemanticTokenType.Function == sToken.Type);
+ if (t.TokenFlags.HasFlag(TokenFlags.CommandName))
118
+ {
119
+ Assert.Single(mappedTokens, sToken => SemanticTokenType.Function == sToken.Type);
120
+ }
121
+
122
123
}
124
0 commit comments