-
-
Notifications
You must be signed in to change notification settings - Fork 240
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 pack work but have issues #1126
Comments
For blade syntax highlighting to work you'll need to manually create the tree sitter query files. See the notes on https://github.com/AstroNvim/astrocommunity/tree/main/lua/astrocommunity/pack/laravel |
I'm sorry the link in the notes is wrong, this should point to EmranMR/tree-sitter-blade#19 (comment) You'll need to manually add the query files |
@ALameLlama And for the completion in Laravel, that is not correct? |
@MrMic how do you mean? The tree sitter queries are just for syntax highlighting. They shouldn't effect anything else. |
@ALameLlama I know but my first issue was about completion (see the first 2 screenshots above). |
@MrMic I believe for Laravel methods like this laravel ide helper is what power this, try installing this and running If it's still complaining try to see if it does the same thing for I'm not at my PC atm but I'll see if I get the same thing and see if there is something we can do it fix it on our side. |
@MrMic Actually, the issue is with PHP Actor the LSP and it's because the redirect global function has a dynamic return type This was fixed recently in PHP Actor itself phpactor/phpactor#2700 and merged 4 days ago. They haven't done a release but once they do and you update it, the issue will be solved. For now, if you want to keep that syntax doing |
Thanks a lot, @ALameLlama for the time you take to troubleshoot this. BTW, my VS Code has these laravel extensions installed:
And so far, all works like a charm 😁 |
Checklist
repro.lua
provided belowNeovim version (nvim -v)
0.10.0
Operating system/version
Linux Ubuntu 22.04
Terminal/GUI
kitty
Describe the bug
Steps to Reproduce
Start AstroNvim in a Laravel project
Expected behavior
Screenshots
Additional Context
Otherwise, all seems to work as expected.
Minimal configuration
The text was updated successfully, but these errors were encountered: