Skip to content

Commit 98337dd

Browse files
authored
Update external_completers.md (#2005)
``` Warning: nu::parser::deprecated ⚠ Flag deprecated. ╭─[/home/slashlogin/.config/nushell/config.nu:34:11] 33 │ | where name == $spans.0 34 │ | get -i 0.expansion · ─┬ · ╰── get --ignore-errors was deprecated in 0.106.0 and will be removed in a future release. 35 │ ╰──── help: This flag has been renamed to `--optional (-o)` to better reflect its behavior. ```
1 parent 2015c43 commit 98337dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/external_completers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ let carapace_completer = {|spans: list<string>|
116116
let external_completer = {|spans|
117117
let expanded_alias = scope aliases
118118
| where name == $spans.0
119-
| get -i 0.expansion
119+
| get -o 0.expansion
120120
121121
let spans = if $expanded_alias != null {
122122
$spans

0 commit comments

Comments
 (0)