Add brackets and missing operators to Python grammar (#11180)
adorabilis
created
Release Notes:
- Fixed #4341
Before:

After:

Change summary
crates/languages/src/python/highlights.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
Detailed changes
@@ -48,6 +48,15 @@
(string) @string
(escape_sequence) @escape
+[
+ "("
+ ")"
+ "["
+ "]"
+ "{"
+ "}"
+] @punctuation.bracket
+
(interpolation
"{" @punctuation.special
"}" @punctuation.special) @embedded
@@ -96,6 +105,8 @@
"is"
"not"
"or"
+ "is not"
+ "not in"
] @operator
[