diff --git a/modules/lang/python/config.el b/modules/lang/python/config.el index 35303dce6..5ee85feef 100644 --- a/modules/lang/python/config.el +++ b/modules/lang/python/config.el @@ -135,8 +135,8 @@ '((:command . "python") (:exec (lambda () (if-let* ((bin (executable-find "pipenv")) - (dir (pipenv-project-p))) - (format "cd %S && %s run %%c %%o %%s %%a" dir bin) + (_ (pipenv-project-p))) + (format "PIPENV_MAX_DEPTH=9999 %s run %%c %%o %%s %%a" bin) "%c %o %s %a"))) (:description . "Run Python script")))