mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 08:16:14 +02:00
hintfmt for eye searing varnames
This commit is contained in:
parent
129dd760e6
commit
edb5a28024
1 changed files with 3 additions and 1 deletions
|
@ -781,11 +781,13 @@ void runRepl(
|
|||
std::set<std::string> names;
|
||||
|
||||
for (auto & [name, value] : extraEnv) {
|
||||
names.insert(ANSI_BOLD + name + ANSI_NORMAL);
|
||||
// names.insert(ANSI_BOLD + name + ANSI_NORMAL);
|
||||
names.insert(name);
|
||||
repl->addVarToScope(repl->state->symbols.create(name), value);
|
||||
}
|
||||
|
||||
printError(hintfmt("The following extra variables are in scope: %s\n", concatStringsSep(", ", names)).str());
|
||||
// printError("The following extra variables are in scope: %s\n", concatStringsSep(", ", names));
|
||||
|
||||
repl->mainLoop({});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue