Add blade queries for treesitter

This commit is contained in:
Javier Feliz 2025-01-21 12:19:59 -05:00
parent f842f12bfb
commit 340c8f2d6b
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,9 @@
(directive) @function
(directive_start) @function
(directive_end) @function
(comment) @comment
((parameter) @include (#set! "priority" 110))
((php_only) @include (#set! "priority" 110))
((bracket_start) @function (#set! "priority" 120))
((bracket_end) @function (#set! "priority" 120))
(keyword) @function

View File

@ -0,0 +1,4 @@
((text) @injection.content
(#not-has-ancestor? @injection.content "envoy")
(#set! injection.combined)
(#set! injection.language php))