When the following Tree-sitter query is active in highlights.scm for C# (at line 226 currently):
(parameter (identifier) @variable)
it causes user-defined parameter types to lose their type highlighting. Instead, both the parameter name and the type are highlighted as variables. This breaks the expected syntax highlighting for user-defined types in method signatures.
Current behaviour:
Expected behaviour (when mentioned Tree-sitter query line commented out):
Environment:
- Zed Version: 0.209.6
- C# Extension Version: 0.1.3
- OS: macOS Tahoe 26