From 5d5ba2a7802b67515dd27df80d76b3f265c07624 Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 25 Apr 2017 23:52:13 +0100 Subject: #427 Allow linters and aliases to be configured in buffer local variables --- doc/ale.txt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'doc') 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* -- cgit v1.2.3