html and takes control of the html tree
structure as wellv0.12.0
Release Note for the Upgrade Guide,
if you have any questions, feel free to start a discussion or raise an issueThis project aims to write the tree-sitter grammar for Laravel Blade.
This grammar can be used in any editor or service that support Tree-Sitter. Such as, but not limited to:
NovaSimply install the Laravel Suite Extension from the Extension Library. That includes:
Simply use the nvim-treesitter plugin and install the blade grammar.
ZedSimply download the extension from zed Extension marketplace
[!NOTE] Your editor or service might use a different capture group name or predicates than the queries in the
queries/folder. Consequently, you will need to find out how to approach queries or where they are stored and used in your editor's documentation. For example Nova does not use anything in this folder and uses its ownQueriesfolder instead.
Here's an example of all the various languages that are injected:
And here's an example of folding in action:
If something does not look right please raise an issue with a detailed examples of what you are trying to achieve. Add any of the following if necessary:
If you need help with anything else or would like to share tips and tricks for your fellow devs, feel free to use the discussion tab and create a discussion!
See the contribution guidelines for more details, as well as
in depth info about the grammar itself.
TypeScript
37.3%
JavaScript
35.4%
C
23.8%
Tree-sitter Query
2.3%
Shell
1.2%
html and takes control of the html tree
structure as wellv0.12.0
Release Note for the Upgrade Guide,
if you have any questions, feel free to start a discussion or raise an issueThis project aims to write the tree-sitter grammar for Laravel Blade.
This grammar can be used in any editor or service that support Tree-Sitter. Such as, but not limited to:
NovaSimply install the Laravel Suite Extension from the Extension Library. That includes:
Simply use the nvim-treesitter plugin and install the blade grammar.
ZedSimply download the extension from zed Extension marketplace
[!NOTE] Your editor or service might use a different capture group name or predicates than the queries in the
queries/folder. Consequently, you will need to find out how to approach queries or where they are stored and used in your editor's documentation. For example Nova does not use anything in this folder and uses its ownQueriesfolder instead.
Here's an example of all the various languages that are injected:
And here's an example of folding in action:
If something does not look right please raise an issue with a detailed examples of what you are trying to achieve. Add any of the following if necessary:
If you need help with anything else or would like to share tips and tricks for your fellow devs, feel free to use the discussion tab and create a discussion!
See the contribution guidelines for more details, as well as
in depth info about the grammar itself.
TypeScript
37.3%
JavaScript
35.4%
C
23.8%
Tree-sitter Query
2.3%
Shell
1.2%