mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
feat: add Hare
This commit is contained in:
parent
98d63d0da4
commit
207a86e4c9
8 changed files with 379 additions and 0 deletions
8
queries/hare/injections.scm
Normal file
8
queries/hare/injections.scm
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
(comment) @comment
|
||||
|
||||
((call_expression
|
||||
. (_) @_fnname
|
||||
. "("
|
||||
. (_ [(string_content) (raw_string_content)] @regex)
|
||||
. ")")
|
||||
(#any-of? @_fnname "compile" "regex::compile"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue