From c62c40cb4ac608aa67e9f904dba05ef7f0127192 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 12 Mar 2021 17:26:24 -0500 Subject: [PATCH] Set lsp-pyright to multi-root mode to avoid "too many open files" error --- emacs/.emacs.d/config/init-python.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/.emacs.d/config/init-python.el b/emacs/.emacs.d/config/init-python.el index af3e376..15d00b2 100644 --- a/emacs/.emacs.d/config/init-python.el +++ b/emacs/.emacs.d/config/init-python.el @@ -72,7 +72,7 @@ (lsp-deferred))) :custom (lsp-pyright-use-library-code-for-types t) - (lsp-pyright-multi-root nil) + (lsp-pyright-multi-root t) :general (python-mode-map "C-c C-d" #'lsp-describe-thing-at-point))