mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(queries): use vim-match for non lua regexes
This commit is contained in:
parent
4a747aa30c
commit
ce43dbf54c
11 changed files with 29 additions and 29 deletions
|
|
@ -103,7 +103,7 @@
|
|||
; Variables
|
||||
|
||||
((identifier) @constant
|
||||
(#match? @constant "^_*[A-Z][A-Z\d_]+"))
|
||||
(#vim-match? @constant "^_*[A-Z][A-Z\d_]+"))
|
||||
|
||||
(this) @constant.builtin
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue