diff options
Diffstat (limited to 'queries/python/highlights.scm')
| -rw-r--r-- | queries/python/highlights.scm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 4aaf6c20c..b98fc0cf7 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -224,8 +224,14 @@ body: (block (expression_statement (assignment - left: (left_hand_side - (identifier) @field))))) + left: (identifier) @field)))) + (#vim-match? @field "^([A-Z])@!.*$")) +((class_definition + body: (block + (expression_statement + (assignment + left: (_ + (identifier) @field))))) (#vim-match? @field "^([A-Z])@!.*$")) ((class_definition |
