mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
18
runtime/queries/hare/injections.scm
Normal file
18
runtime/queries/hare/injections.scm
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((call_expression
|
||||
.
|
||||
(_) @_fnname
|
||||
.
|
||||
"("
|
||||
.
|
||||
(_
|
||||
[
|
||||
(string_content)
|
||||
(raw_string_content)
|
||||
] @injection.content)
|
||||
.
|
||||
")")
|
||||
(#any-of? @_fnname "compile" "regex::compile")
|
||||
(#set! injection.language "regex"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue