Skip to content

Fix external completers - #2252

Closed
ymcx wants to merge 2 commits into
nushell:mainfrom
ymcx:patch-1
Closed

ymcx wants to merge 2 commits into
nushell:mainfrom
ymcx:patch-1

Conversation

@ymcx

@ymcx ymcx commented Sep 28, 2026

Copy link
Copy Markdown

My custom completer stopped working due to a breaking change introduced in 0.116.0. I went to to check the documentation for the new command just to notice that the documentation is broken in many places.

Some of the functions use a positional parameter, space, even though that doesn't exist. Some functions and parts of the text still refer to $spans, even though that has been removed in favor of the new alternatives. Moreover, some match statements try to match $place.command as a whole instead of selecting its first element.

I made this a draft since I haven't personally tested each of the functions I modified.

Apparently this modification was introduced in #2250. Seems like nobody bothered to check the diffs?

@fdncred

fdncred commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

I'm going through all the documentation right now so I'm not sure this will be necessary. I'll try to post a link so you can confirm when I send my PR.

@ymcx

ymcx commented Sep 28, 2026

Copy link
Copy Markdown
Author

I'm going through all the documentation right now so I'm not sure this will be necessary. I'll try to post a link so you can confirm when I send my PR.

Do I close this PR?

@fdncred

fdncred commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

ya, we can close it now. and reopen another one later if i missed some points.

@fdncred fdncred closed this Sep 28, 2026
@fdncred

fdncred commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

My docs update PR is live now #2253 Let me know if anything looks wrong.

@ymcx

ymcx commented Sep 29, 2026

Copy link
Copy Markdown
Author

I glanced over the article I modified in this PR. Looks good to me.

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.

2 participants