Make tab-completion work on builtins
This commit is contained in:
parent
e91160021f
commit
dc670a173a
|
@ -384,8 +384,11 @@ void NixRepl::initEnv()
|
|||
env = &state.allocEnv(envSize);
|
||||
env->up = &state.baseEnv;
|
||||
displ = 0;
|
||||
varNames.clear();
|
||||
staticEnv.vars.clear();
|
||||
|
||||
varNames.clear();
|
||||
foreach (StaticEnv::Vars::iterator, i, state.staticBaseEnv.vars)
|
||||
varNames.insert(i->first);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue