Add some more builtin var completions (#4540)

This commit is contained in:
JT 2022-02-18 14:34:40 -05:00 committed by GitHub
parent c893cc1485
commit f085bd97f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {