Skip to content

Commit

Permalink
Merge pull request #6 from laureanray/feature/add-golang
Browse files Browse the repository at this point in the history
feat(go): add equals after var name
  • Loading branch information
filNaj authored Aug 11, 2023
2 parents 9ad3a2b + 7780b77 commit e9ba495
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions queries/go/tsetter.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
;; --------------
;; Variables
;; --------------
;; Go variable declaration
;; Example:
;; var a = 1
;; var b = "hello"
(var_declaration
(var_spec
name: (identifier)
type: (type_identifier) @equals
))

0 comments on commit e9ba495

Please sign in to comment.