mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-12 05:01:47 +08:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -280,6 +280,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*
|
||||
|
||||
|
||||
43
doc/ale-salt.tmt
Normal file
43
doc/ale-salt.tmt
Normal file
@@ -0,0 +1,43 @@
|
||||
===============================================================================
|
||||
ALE SALT Integration *ale-salt-options*
|
||||
|
||||
===============================================================================
|
||||
salt-lint *ale-salt-salt-lint*
|
||||
|
||||
Website: https://github.com/warpnet/salt-lint
|
||||
|
||||
|
||||
Installation
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Install salt-lint in your a virtualenv directory, locally, or globally: >
|
||||
|
||||
pip install salt-lint # After activating virtualenv
|
||||
pip install --user salt-lint # Install to ~/.local/bin
|
||||
sudo pip install salt-lint # Install globally
|
||||
|
||||
See |g:ale_virtualenv_dir_names| for configuring how ALE searches for
|
||||
virtualenv directories.
|
||||
|
||||
|
||||
Options
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
g:ale_salt_salt-lint_executable *g:ale_salt_salt_lint_executable*
|
||||
*b:ale_salt_salt_lint_executable*
|
||||
Type: |String|
|
||||
Default: `'salt-lint'`
|
||||
|
||||
This variable can be set to change the path to salt-lint.
|
||||
|
||||
|
||||
g:ale_salt_salt-lint_options *g:ale_salt_salt-lint_options*
|
||||
*b:ale_salt_salt-lint_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be set to pass additional options to salt-lint.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
@@ -429,6 +429,8 @@ Notes:
|
||||
* `rust-analyzer`
|
||||
* `rustc` (see |ale-integration-rust|)
|
||||
* `rustfmt`
|
||||
* Salt
|
||||
* `salt-lint`
|
||||
* Sass
|
||||
* `sass-lint`
|
||||
* `stylelint`
|
||||
|
||||
@@ -2883,6 +2883,8 @@ documented in additional help files.
|
||||
rls...................................|ale-rust-rls|
|
||||
rustc.................................|ale-rust-rustc|
|
||||
rustfmt...............................|ale-rust-rustfmt|
|
||||
salt....................................|ale-salt-options|
|
||||
salt-lint.............................|ale-salt-salt-lint|
|
||||
sass....................................|ale-sass-options|
|
||||
sasslint..............................|ale-sass-sasslint|
|
||||
stylelint.............................|ale-sass-stylelint|
|
||||
|
||||
Reference in New Issue
Block a user