mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
Add some more builtin var completions (#4540)
This commit is contained in:
parent
c893cc1485
commit
f085bd97f6
@ -71,7 +71,9 @@ impl NuCompleter {
|
||||
) -> Vec<(reedline::Span, String)> {
|
||||
let mut output = vec![];
|
||||
|
||||
let builtins = ["$nu", "$scope", "$in", "$config", "$env"];
|
||||
let builtins = [
|
||||
"$nu", "$scope", "$in", "$config", "$env", "$true", "$false", "$nothing",
|
||||
];
|
||||
|
||||
for builtin in builtins {
|
||||
if builtin.as_bytes().starts_with(prefix) {
|
||||
|
Loading…
Reference in New Issue
Block a user