Skip to content

Commit

Permalink
fix(python): Fixes #9: resolve equlas not being added after variables…
Browse files Browse the repository at this point in the history
… declared with "self"
  • Loading branch information
filNaj committed Aug 13, 2023
1 parent ec4132e commit 299f5a6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions queries/python/tsetter.scm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
(identifier) @equals
)

;; For declarations using the 'self' keyword
;; Example:
;; self.x = 12
(expression_statement
(attribute) @equals
)



;; ====================
;; Lists and Dicts
;; ====================
Expand Down

0 comments on commit 299f5a6

Please sign in to comment.