diff options
author | w0rp <devw0rp@gmail.com> | 2017-04-25 23:52:13 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-04-25 23:52:13 +0100 |
commit | 5d5ba2a7802b67515dd27df80d76b3f265c07624 (patch) | |
tree | ab8224cdc09120b4e4456e9175bc3c8a038fba1d /doc/ale.txt | |
parent | 45c2d6b580e8e4bfe73412667268c48a3034caf5 (diff) | |
download | ale-5d5ba2a7802b67515dd27df80d76b3f265c07624.zip |
#427 Allow linters and aliases to be configured in buffer local variables
Diffstat (limited to 'doc/ale.txt')
-rw-r--r-- | doc/ale.txt | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/ale.txt b/doc/ale.txt index 8f3476bd..7f391964 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -364,7 +364,7 @@ g:ale_lint_on_insert_leave *g:ale_lint_on_insert_leave* g:ale_linter_aliases *g:ale_linter_aliases* - + *b:ale_linter_aliases* Type: |Dictionary| Default: `{}` @@ -399,8 +399,13 @@ g:ale_linter_aliases *g:ale_linter_aliases* Note that `html` itself was included as an alias. That is because aliases will override the original linters for the aliased filetepe. -g:ale_linters *g:ale_linters* + Linter aliases can be configured in each buffer with buffer-local variables. + ALE will first look for aliases for filetypes in the `b:ale_linter_aliases` + variable, then `g:ale_linter_aliases`, and then a default Dictionary. + +g:ale_linters *g:ale_linters* + *b:ale_linters* Type: |Dictionary| Default: `{}` @@ -434,6 +439,10 @@ g:ale_linters *g:ale_linters* let g:ale_linters = {'c': 'all'} < + Linters can be configured in each buffer with buffer-local variables. ALE + will first look for linters for filetypes in the `b:ale_linters` variable, + then `g:ale_linters`, and then a default Dictionary. + g:ale_max_buffer_history_size *g:ale_max_buffer_history_size* |