mirror of
https://github.com/amix/vimrc
synced 2025-09-16 17:15:00 +08:00
Updated plugins
This commit is contained in:
@ -36,6 +36,8 @@ ALE will look for configuration files with the following filenames. >
|
||||
.pylintrc
|
||||
Pipfile
|
||||
Pipfile.lock
|
||||
poetry.lock
|
||||
pyproject.toml
|
||||
<
|
||||
|
||||
The first directory containing any of the files named above will be used.
|
||||
@ -280,6 +282,15 @@ g:ale_python_isort_use_global *g:ale_python_isort_use_global*
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_python_isort_auto_pipenv *g:ale_python_isort_auto_pipenv*
|
||||
*b:ale_python_isort_auto_pipenv*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
Detect whether the file is inside a pipenv, and set the executable to `pipenv`
|
||||
if true. This is overridden by a manually-set executable.
|
||||
|
||||
|
||||
===============================================================================
|
||||
mypy *ale-python-mypy*
|
||||
|
||||
@ -677,6 +688,25 @@ g:ale_python_pyls_config *g:ale_python_pyls_config*
|
||||
\ }
|
||||
<
|
||||
|
||||
g:ale_python_pyls_options *g:ale_python_pyls_options*
|
||||
*b:ale_python_pyls_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be changed to add command-line arguments to the pyls
|
||||
invocation. Note that this is not the same thing as ale_python_pyls_config,
|
||||
which allows configuration of how pyls functions; this is intended to
|
||||
provide flexibility in how the pyls command is invoked.
|
||||
|
||||
For example, if you had installed `pyls` but your `pyls` executable was not
|
||||
on your `PATH` for some reason, an alternative way to run the pyls server
|
||||
would be:
|
||||
let g:ale_python_pyls_executable = 'python3'
|
||||
let g:ale_python_pyls_options = '-m pyls'
|
||||
|
||||
An example stragety for installing `pyls`:
|
||||
`python3 -m pip install --user pyls`
|
||||
|
||||
===============================================================================
|
||||
pyre *ale-python-pyre*
|
||||
|
||||
|
Reference in New Issue
Block a user