mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-09 19:21:33 +08:00
add option to lint diff buffers (#3185)
Some checks failed
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--lua-only) (push) Has been cancelled
CI / test_ale (--neovim-07-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
Some checks failed
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--lua-only) (push) Has been cancelled
CI / test_ale (--neovim-07-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
* add option to lint diff buffers * fix misaligned doc tag * update docs
This commit is contained in:
11
doc/ale.txt
11
doc/ale.txt
@@ -1622,10 +1622,21 @@ g:ale_lint_delay
|
||||
A buffer-local option, `b:ale_lint_delay`, can be set to change the delay
|
||||
for different buffers, such as in |ftplugin| files.
|
||||
|
||||
*ale-options.ale_lint_diff*
|
||||
*g:ale_lint_diff*
|
||||
g:ale_lint_diff
|
||||
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
When this option is set to `1`, ALE will lint buffers where `&diff` is set.
|
||||
|
||||
|
||||
*ale-options.lint_on_enter*
|
||||
*g:ale_lint_on_enter*
|
||||
lint_on_enter
|
||||
g:ale_lint_on_enter
|
||||
|
||||
Type: |Number|
|
||||
Default: `1`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user