Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Distinguish parameters from normal variables in semantic token highlighting (#60949)

Xin Zhao9554ea58c3c2
diff --git a/assets/settings/default_semantic_token_rules.json b/assets/settings/default_semantic_token_rules.json
index c070a253d30..354fb431ebb 100644
--- a/assets/settings/default_semantic_token_rules.json
+++ b/assets/settings/default_semantic_token_rules.json
@@ -119,20 +119,10 @@
"style": ["type"],
},
// References
- {
- "token_type": "parameter",
- "token_modifiers": ["declaration"],
- "style": ["variable.parameter"]
- },
- {
- "token_type": "parameter",
- "token_modifiers": ["definition"],
- "style": ["variable.parameter"]
- },
{
"token_type": "parameter",
"token_modifiers": [],
- "style": ["variable"],
+ "style": ["variable.parameter"],
},
{
"token_type": "variable",