From ce43dbf54cdc017e6885381f38ea056f78c4e55b Mon Sep 17 00:00:00 2001 From: Steven Sojka Date: Sun, 16 Aug 2020 11:24:10 -0500 Subject: fix(queries): use vim-match for non lua regexes --- queries/go/highlights.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'queries/go') diff --git a/queries/go/highlights.scm b/queries/go/highlights.scm index fb5df7f1..a8473f06 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 -- cgit v1.2.3