mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 04:40:08 -04:00
feat(blade): add laravel blade parser and queries (#7693)
This commit is contained in:
parent
6d1a8e6fdb
commit
548ed98f8a
7 changed files with 59 additions and 0 deletions
15
queries/blade/injections.scm
Normal file
15
queries/blade/injections.scm
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
((text) @injection.content
|
||||
(#set! injection.combined)
|
||||
(#set! injection.language php))
|
||||
|
||||
((text) @injection.content
|
||||
(#has-ancestor? @injection.content "envoy")
|
||||
(#set! injection.combined)
|
||||
(#set! injection.language bash))
|
||||
|
||||
((php_only) @injection.content
|
||||
(#set! injection.combined)
|
||||
(#set! injection.language php_only))
|
||||
|
||||
((parameter) @injection.content
|
||||
(#set! injection.language php_only))
|
||||
Loading…
Add table
Add a link
Reference in a new issue