-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support pyright #528
Comments
This comment has been minimized.
This comment has been minimized.
Also want to know if it is in the roadmap. |
In case you didn't know, Pyright is also a language server nowadays (it powers microsoft/pylance). So you can just use it instead of python-language-server. $ pyright-langserver --stdio |
@lithammer How would you install/configure pyright to use it with
|
@ivanddm no sorry, I don't use Kakoune. But by looking at the sample kak-lsp.toml in the repo I would guess something like this: [language.python]
filetypes = ["python"]
roots = ["requirements.txt", "pyproject.toml", "setup.py", ".git"]
command = "pyright-langserver"
args = ["--stdio"] It's unclear if you also need |
@lithammer thanks for that... I tried what you suggest as well with and without Thanks again! |
Thank you for this awesome tool!
pyright is a static type checker for Python. It is typically 5x or more faster than mypy and other type checkers that are written in Python.
The text was updated successfully, but these errors were encountered: