1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 23:28:26 -04:00

highlight the extra vars

This commit is contained in:
Ben Burdette 2021-06-08 14:44:53 -06:00
parent ff2e72054f
commit a8df239752

View file

@ -785,7 +785,7 @@ void runRepl(
repl->addVarToScope(repl->state->symbols.create(name), value); repl->addVarToScope(repl->state->symbols.create(name), value);
} }
printError("The following extra variables are in scope: %s\n", concatStringsSep(", ", names)); printError(hintfmt("The following extra variables are in scope: %s\n", concatStringsSep(", ", names)).str());
repl->mainLoop({}); repl->mainLoop({});
} }