mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
Update pyright config to avoid time-outs (#8032)
This commit is contained in:
parent
0cc94cd87a
commit
454b61cb21
@ -55,7 +55,7 @@ perlnavigator = { command = "perlnavigator", args= ["--stdio"] }
|
|||||||
prisma-language-server = { command = "prisma-language-server", args = ["--stdio"] }
|
prisma-language-server = { command = "prisma-language-server", args = ["--stdio"] }
|
||||||
purescript-language-server = { command = "purescript-language-server", args = ["--stdio"] }
|
purescript-language-server = { command = "purescript-language-server", args = ["--stdio"] }
|
||||||
pylsp = { command = "pylsp" }
|
pylsp = { command = "pylsp" }
|
||||||
pyright = { command = "pyright-langserver", args = ["--stdio"] }
|
pyright = { command = "pyright-langserver", args = ["--stdio"], config = {} }
|
||||||
pylyzer = { command = "pylyzer", args = ["--server"] }
|
pylyzer = { command = "pylyzer", args = ["--server"] }
|
||||||
qmlls = { command = "qmlls" }
|
qmlls = { command = "qmlls" }
|
||||||
r = { command = "R", args = ["--no-echo", "-e", "languageserver::run()"] }
|
r = { command = "R", args = ["--no-echo", "-e", "languageserver::run()"] }
|
||||||
@ -657,7 +657,7 @@ scope = "source.python"
|
|||||||
injection-regex = "python"
|
injection-regex = "python"
|
||||||
file-types = ["py","pyi","py3","pyw","ptl",".pythonstartup",".pythonrc","SConstruct"]
|
file-types = ["py","pyi","py3","pyw","ptl",".pythonstartup",".pythonrc","SConstruct"]
|
||||||
shebangs = ["python"]
|
shebangs = ["python"]
|
||||||
roots = ["pyproject.toml", "setup.py", "poetry.lock","pyrightconfig.json"]
|
roots = ["pyproject.toml", "setup.py", "poetry.lock", "pyrightconfig.json"]
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
language-servers = [ "pylsp" ]
|
language-servers = [ "pylsp" ]
|
||||||
# TODO: pyls needs utf-8 offsets
|
# TODO: pyls needs utf-8 offsets
|
||||||
|
Loading…
Reference in New Issue
Block a user