diff --git a/pythonx/cm_sources/phpactor.py b/pythonx/cm_sources/phpactor.py index 9f30373..dd9bc15 100644 --- a/pythonx/cm_sources/phpactor.py +++ b/pythonx/cm_sources/phpactor.py @@ -51,7 +51,7 @@ def cm_refresh(self, info, ctx, *args): stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, - cwd=self.nvim.eval('getcwd()')) + cwd=self.nvim.eval('g:phpactorInitialCwd').splitlines()[0]) result, errs = proc.communicate(src, timeout=30)