We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c24b96 commit 7e2d864Copy full SHA for 7e2d864
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