fix(queries): use vim-match for non lua regexes

This commit is contained in:
Steven Sojka 2020-08-16 11:24:10 -05:00 committed by Kiyan Yazdani
parent 4a747aa30c
commit ce43dbf54c
11 changed files with 29 additions and 29 deletions

View file

@ -42,7 +42,7 @@
(relative_scope) @variable.builtin
((name) @constant
(#match? @constant "^_?[A-Z][A-Z\d_]+$"))
(#vim-match? @constant "^_?[A-Z][A-Z\d_]+$"))
((name) @constructor
(#match? @constructor "^[A-Z]"))