mirror of
https://github.com/nushell/nushell
synced 2024-12-28 05:53:09 +00:00
cleanup $config
as a built-in (#5852)
This commit is contained in:
parent
4b84825dbf
commit
0827ed143d
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ impl Completer for VariableCompletion {
|
||||||
options: &CompletionOptions,
|
options: &CompletionOptions,
|
||||||
) -> Vec<Suggestion> {
|
) -> Vec<Suggestion> {
|
||||||
let mut output = vec![];
|
let mut output = vec![];
|
||||||
let builtins = ["$nu", "$in", "$config", "$env", "$nothing"];
|
let builtins = ["$nu", "$in", "$env", "$nothing"];
|
||||||
let var_str = std::str::from_utf8(&self.var_context.0)
|
let var_str = std::str::from_utf8(&self.var_context.0)
|
||||||
.unwrap_or("")
|
.unwrap_or("")
|
||||||
.to_lowercase();
|
.to_lowercase();
|
||||||
|
|
Loading…
Reference in a new issue