Skip to content

Commit

Permalink
feat(cargo): export searchGenerator so other tools can use it (#2504)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmig authored Nov 22, 2024
1 parent 79725f0 commit db6d0a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ type Version = {
// Search for crates
// If context is empty, return the most downloaded crates for the search term,
// if there is an `@` in the context, return the versions for the crate
const searchGenerator: Fig.Generator = {
export const searchGenerator: Fig.Generator = {
custom: async (context, executeShellCommand) => {
const numberFormatter = new Intl.NumberFormat(undefined, {
notation: "compact",
Expand Down

0 comments on commit db6d0a8

Please sign in to comment.