From 454b61cb21de818b83f89de9e31f62fad70bb1b2 Mon Sep 17 00:00:00 2001 From: David Else <12832280+David-Else@users.noreply.github.com> Date: Mon, 21 Aug 2023 20:26:32 +0100 Subject: [PATCH] Update pyright config to avoid time-outs (#8032) --- languages.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/languages.toml b/languages.toml index 2477f1ad..d8fb44a6 100644 --- a/languages.toml +++ b/languages.toml @@ -55,7 +55,7 @@ perlnavigator = { command = "perlnavigator", args= ["--stdio"] } prisma-language-server = { command = "prisma-language-server", args = ["--stdio"] } purescript-language-server = { command = "purescript-language-server", args = ["--stdio"] } pylsp = { command = "pylsp" } -pyright = { command = "pyright-langserver", args = ["--stdio"] } +pyright = { command = "pyright-langserver", args = ["--stdio"], config = {} } pylyzer = { command = "pylyzer", args = ["--server"] } qmlls = { command = "qmlls" } r = { command = "R", args = ["--no-echo", "-e", "languageserver::run()"] } @@ -657,7 +657,7 @@ scope = "source.python" injection-regex = "python" file-types = ["py","pyi","py3","pyw","ptl",".pythonstartup",".pythonrc","SConstruct"] shebangs = ["python"] -roots = ["pyproject.toml", "setup.py", "poetry.lock","pyrightconfig.json"] +roots = ["pyproject.toml", "setup.py", "poetry.lock", "pyrightconfig.json"] comment-token = "#" language-servers = [ "pylsp" ] # TODO: pyls needs utf-8 offsets