Skip to content

Commit

Permalink
feat(go): add equals after var name
Browse files Browse the repository at this point in the history
  • Loading branch information
laureanray committed Aug 10, 2023
1 parent 9ad3a2b commit 7780b77
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 7780b77

Please sign in to comment.