Add brackets and missing operators to Python grammar (#11180)
Release Notes: - Fixed #4341 Before:  After: 
This commit is contained in:
@@ -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
|
||||
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user