Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
grammars: Add semantic token rule for Python constants (#59811)
Xin Zhaoe0878c49896a
diff --git a/crates/grammars/src/python/semantic_token_rules.json b/crates/grammars/src/python/semantic_token_rules.jsonindex b73bae962fe..bd26f536c00 100644--- a/crates/grammars/src/python/semantic_token_rules.json+++ b/crates/grammars/src/python/semantic_token_rules.json@@ -11,5 +11,10 @@{"token_type": "builtinConstant","style": ["constant.builtin"]+ },+ {+ "token_type": "variable",+ "token_modifiers": ["readonly"],+ "style": ["constant"]}]