Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel Blade support #8562

Closed
inmanturbo opened this issue Oct 18, 2023 · 3 comments · Fixed by #9513
Closed

Laravel Blade support #8562

inmanturbo opened this issue Oct 18, 2023 · 3 comments · Fixed by #9513
Labels
A-language-support Area: Support for programming/text languages C-enhancement Category: Improvements

Comments

@inmanturbo
Copy link

Blade is a templating language for php by the laravel framework which also supports raw or inline php.

Here is an example for vim: https://github.com/alexandersix/vim-blade

@inmanturbo inmanturbo added the C-enhancement Category: Improvements label Oct 18, 2023
@the-mikedavis the-mikedavis added the A-language-support Area: Support for programming/text languages label Oct 18, 2023
@EpocSquadron
Copy link
Contributor

All language support requires a corresponding tree-sitter grammar. There’s one in progress here: EmranMR/tree-sitter-blade

Aside from either waiting on it to be completed or contributing to it to help it along, once it’s complete enough you would then need to write queries specific to helix. Fortunately that repo seems to actually document how!

@inmanturbo
Copy link
Author

Thanks for adding the link. I had starred that repo awhile ago but then I forgot about it (gh's new dashboard/feed algorithm is a mess). I'll have to keep an eye on it and see if there's anything I can do to help it along!

@lelgenio
Copy link
Contributor

Maybe this issue should still be open, my previous PR only added syntax highlighting.

Maybe we could get completion working by using this: https://github.com/haringsrob/laravel-dev-tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-language-support Area: Support for programming/text languages C-enhancement Category: Improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants