Skip to content

Commit 119a496

Browse files
Update custom_completions.md to use new spread operator in carapace example (#1232)
1 parent 58cab10 commit 119a496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: book/custom_completions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ This example will enable carapace external completions:
161161

162162
```nu
163163
let carapace_completer = {|spans|
164-
carapace $spans.0 nushell $spans | from json
164+
carapace $spans.0 nushell ...$spans | from json
165165
}
166166
```
167167

0 commit comments

Comments
 (0)