summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Else2023-08-21 19:26:32 +0000
committerGitHub2023-08-21 19:26:32 +0000
commit454b61cb21de818b83f89de9e31f62fad70bb1b2 (patch)
treec0eb98b64dff8535200b1cba9dfdc66e4585a9a4
parent0cc94cd87a7db287a617b60b0a3f444362cf173c (diff)
Update pyright config to avoid time-outs (#8032)
-rw-r--r--languages.toml4
1 files 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