Query: add regex injections

This commit is contained in:
Santos Gallegos 2021-02-06 17:57:01 -05:00 committed by Thomas Vigouroux
parent e5319aa9aa
commit 51d70c9f0c

View file

@ -0,0 +1,4 @@
((predicate
name: (identifier) @_name
parameters: (parameters (string) @regex))
(#match? @_name "^#?(not-)?(match|vim-match|lua-match)$"))