Skip to content

Commit

Permalink
Merge pull request #124 from javoscript/main
Browse files Browse the repository at this point in the history
new(route picker): add route name to telescope's route picker fuzzy searched value
  • Loading branch information
adalessa authored Jan 24, 2025
2 parents 325fa34 + 203e136 commit 7923db8
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 7923db8

Please sign in to comment.