Skip to content

Commit

Permalink
new(route picker): add name to telescope's route picker fuzzy searche…
Browse files Browse the repository at this point in the history
…d value
  • Loading branch information
Javier Ugarte committed Jan 22, 2025
1 parent 325fa34 commit 203e136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/laravel/pickers/telescope/make_entry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function M.gen_from_laravel_routes(opts)
return function(route)
return M.set_default_entry_mt({
value = route,
ordinal = route.uri,
ordinal = vim.fn.join({ route.uri, route.name or "" }, " "),
display = make_display,
route_method = vim.fn.join(route.methods, "|"),
}, opts)
Expand Down

0 comments on commit 203e136

Please sign in to comment.