GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Nushell completers in env.nu use the deprecated positional completer input · Issue #3127 · voidzero-dev/vite-plus Closed Copy link Labels DescriptionDescribe the bugThe Nushell completers in the generated Nushell 0.116 gives a completer one record with the fields Completion still works, because a compatibility bridge still gives The warning gives the migration. Use This is the problem in the title of #3092. The body of #3092 describes a different problem, which #3123 fixes. ReproductionNo repository is necessary. The steps use only Steps to reproduceThe steps require
Expected result: Nushell shows no warning. Actual result: Nushell shows This command shows the record that Nushell 0.116 gives to a completer. System Infovp v1.3.0 Nushell 0.116.1 (aarch64-apple-darwin) fish 4.9.3 macOS Used Package Managernpm LogsWarning: nu::shell::deprecated
⚠ Positional completer input deprecated.
╭─[.../vp/env.nu:42:40]
42 │ ╭─▶ def "nu-complete vp" [context: string] {
...
· ╰──── declares the legacy positional input `context`
╰────
help: A parameter completer is handed one record, whose fields bind to the parameters it names: token, place, buffer.
`context` still receives its old positional value for compatibility, but this bridge will be removed in a future
release. To migrate, use `[buffer, place]`; `$buffer` replaces the old context and `$place.cursor` replaces its
position.Validations
Activity
MetadataMetadataAssigneesLabelsTypeFieldsPriority None yet Effort None yet Target date None yet Start date None yet ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |