RicardoRamirezR / blade-nav.nvim

Navigating Blade views within Laravel projects
MIT License
51 stars 7 forks source link

feat: add support for to_route #20

Closed ALameLlama closed 3 months ago

ALameLlama commented 3 months ago

This adds support for toroute() this is the same as doing redirect(route()) or redirect()->route(), the current code when trying to use cmp would remove `toso you'd only haveroute('something')instead ofto_route('something')`

I also updated the errors to use int since it was complaining and updated cmp to use the utils helper to reduce code duplication.

RicardoRamirezR commented 3 months ago

Good catch @ALameLlama