-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lelgenio
committed
Feb 28, 2024
1 parent
3cdf30b
commit e74a553
Showing
5 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
((directive_start) @start | ||
(directive_end) @end.after | ||
(#set! role block)) | ||
|
||
|
||
((bracket_start) @start | ||
(bracket_end) @end | ||
(#set! role block)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(directive) @tag | ||
(directive_start) @tag | ||
(directive_end) @tag | ||
(comment) @comment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
((text) @injection.content | ||
(#set! injection.combined) | ||
(#set! injection.language php)) | ||
|
||
; could be bash or zsh | ||
; or whatever tree-sitter grammar you have. | ||
((text) @injection.content | ||
(#set! injection.combined) | ||
(#set! injection.language bash)) | ||
|
||
|
||
((php_only) @injection.content | ||
(#set! injection.language php-only)) | ||
((parameter) @injection.content | ||
(#set! injection.language php-only)) | ||
|