Skip to content

Allow disabling filtering in custom completions - #17253

Merged
ysthakur merged 1 commit into
nushell:mainfrom
strommach:custom-completion-filter-option
Dec 30, 2025
Merged

ysthakur merged 1 commit into
nushell:mainfrom
strommach:custom-completion-filter-option

Conversation

@strommach

Copy link
Copy Markdown
Contributor

Release notes summary - What our users need to know

Allow disabling filtering in custom completions

Tasks after submitting

Details of the change

  • Read 'filter' option (default true) from custom completion options.
  • When filtering is disabled, return raw suggestions early and warn if sorting was requested, since sorting requires filtering.
  • Added a unit test for the no-filter case.
image

@ysthakur
Closes #15479

- Read 'filter' option (default true) from custom completion options.
- When filtering is disabled, return raw suggestions early and warn if
  sorting was requested, since sorting requires filtering.
- Added a unit test for the no-filter case.

@ysthakur ysthakur left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom completions without filtering

2 participants