diff --git a/crates/grammars/src/python/semantic_token_rules.json b/crates/grammars/src/python/semantic_token_rules.json index b73bae962f..bd26f536c0 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"] } ]