Skip to content

Commit

Permalink
feat(python): Fixes #8: add equals after index assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
filNaj committed Aug 13, 2023
1 parent 299f5a6 commit e5c24e8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions queries/python/tsetter.scm
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
(attribute) @equals
)

;; For index declarations
;; Example:
;; foo = ["bar"]
;; foo[0]
(expression_statement
(subscript) @equals
)


;; ====================
Expand Down

0 comments on commit e5c24e8

Please sign in to comment.