mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 06:20:01 -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
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
; Assume all-caps names are constants
|
||||
((identifier) @constant
|
||||
(#match? @constant "^[A-Z][A-Z\\d_]+$'"))
|
||||
(#vim-match? @constant "^[A-Z][A-Z\\d_]+$'"))
|
||||
|
||||
; Other identifiers
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue