Add brackets and missing operators to Python grammar (#11180)
Release Notes: - Fixed #4341 Before:  After: 
This commit is contained in:
parent
f252d9cf67
commit
2306e3cd50
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue