Add ale_python_pyright_options variable (#5150)

Also replaces link to lsp config doc from its source code to the
published rendered page version.

Co-authored-by: cos <cos>
This commit is contained in:
rymdbar
2026-07-25 22:24:57 +09:00
committed by GitHub
co-authored by cos <cos>
parent 94a8a88f0d
commit c874be57bc
3 changed files with 27 additions and 2 deletions
+17 -1
View File
@@ -1721,7 +1721,7 @@ g:ale_python_pyright_config
Settings for configuring the `pyright` language server.
See pyright's documentation for a full list of options:
https://github.com/microsoft/pyright/blob/master/docs/settings.md
https://microsoft.github.io/pyright/#/settings
ALE will automatically try to set defaults for `venvPath` and `pythonPath`
so your project can automatically be checked with the right libraries.
@@ -1781,6 +1781,22 @@ g:ale_python_pyright_auto_uv
Set the executable to `uv` if true. This is overridden by a manually-set
executable.
*ale-options.python_pyright_options*
*g:ale_python_pyright_options*
*b:ale_python_pyright_options*
python_pyright_options
g:ale_python_pyright_options
Type: |String|
Default: `'--stdio'`
This variable can be changed to add command-line arguments to the pyright
invocation. Note that this is different from ale_python_pyright_config,
which allows configuration of how pyright functions; this is intended to
provide flexibility in how the pyright command is invoked.
For all available options and explanations, visit
https://microsoft.github.io/pyright/#/command-line
===============================================================================
refurb *ale-python-refurb*