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

feature: Laravel Module #2318

Open
1 task done
spcbfr opened this issue Jan 6, 2024 · 3 comments
Open
1 task done

feature: Laravel Module #2318

spcbfr opened this issue Jan 6, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@spcbfr
Copy link

spcbfr commented Jan 6, 2024

Did you check the docs?

  • I have read all the LazyVim docs

Is your feature request related to a problem? Please describe.

I've found laravel to be the weakest ecosystem in terms of neovim plugins. it's hard to get syntax highlighting and good LSP setup. this is especially true in the blade file format.

Describe the solution you'd like

I module (or extra as you call it) that sets up all the laravel related packages for the user.

Describe alternatives you've considered

Initially I tried doing everything on my own like I usually do with typescript but I found hurdles along the way. (missing autocomplete options, no blade syntax highlighting, LSP errors where there shouldn't be an error, etc..)

Additional context

No response

@spcbfr spcbfr added the enhancement New feature or request label Jan 6, 2024
@kobzar
Copy link

kobzar commented Jan 31, 2024

Maybe try to use this one
https://github.com/adalessa/laravel.nvim
?

@muneebusmani
Copy link

i gotchu dude, first thing is that there is proper support for blade officially, even in vscode you would only get snippets for directives but if you reference something in Blade templates , then lsp doesnt know what you tryna do, that is the same behaviour for both neovim and vscode, phpstorm has intellisense for each and everything, and the tree sitter syntax hightlighting isnt officially supported for laravel blade files but i copied someone's setup and it has these stuff:
@if etc snippets
Blade syntax highlighting
and all other php support for the framework, i am currently trying to add my laravel setup as a lazyvim extra but couldnt find a way to do it

@MannyFay
Copy link

MannyFay commented Jun 3, 2024

I have a similar problem as described here.
The solution for me (by now) is using Packer instead of Lazy :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants