diff options
Diffstat (limited to 'queries/python')
| -rw-r--r-- | queries/python/highlights.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 9f7a8b7bc..9e0ff2dca 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -13,6 +13,10 @@ ((identifier) @constant.builtin (match? @constant.builtin "^__[a-zA-Z0-9_]*__$")) +((attribute + attribute: (identifier) @field) + (match? @field "^([A-Z])@!.*$")) + ; Function calls (decorator) @function @@ -200,10 +204,6 @@ superclasses: (argument_list (identifier) @type)) -((attribute - attribute: (identifier) @field) - (match? @field "^([A-Z])@!.*$")) - ((class_definition body: (block (expression_statement |
