aboutsummaryrefslogtreecommitdiffstats
path: root/queries/go/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/go/highlights.scm')
-rw-r--r--queries/go/highlights.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/go/highlights.scm b/queries/go/highlights.scm
index fb5df7f11..a8473f06a 100644
--- a/queries/go/highlights.scm
+++ b/queries/go/highlights.scm
@@ -1,4 +1,4 @@
-;; Forked from tree-sitter-go
+;; Forked from tree-sitter-go
;; Copyright (c) 2014 Max Brunsfeld (The MIT License)
;;
@@ -12,10 +12,10 @@
(variadic_parameter_declaration (identifier) @parameter)
((identifier) @constant
- (#eq? @constant "_"))
+ (#eq? @constant "_"))
((identifier) @constant
- (#match? @constant "^[A-Z][A-Z\\d_]+$"))
+ (#vim-match? @constant "^[A-Z][A-Z\\d_]+$"))
; Function calls