1
0
forked from VimPlug/jedi

Progress when working with evaluators

This commit is contained in:
Dave Halter
2017-11-17 01:21:38 +01:00
parent 4136dcaf08
commit 73576b2a8b
5 changed files with 134 additions and 24 deletions

View File

@@ -121,7 +121,7 @@ class Script(object):
compiled_subprocess = None
else:
if environment is None:
environment = DefaultEnvironment()
environment = DefaultEnvironment(self.path)
compiled_subprocess = environment.get_subprocess()
self._evaluator = Evaluator(self._grammar, project, compiled_subprocess)
project.add_script_path(self.path)