diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt index bc632e21..4868e17c 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -277,6 +277,7 @@ g:ale_emit_conflict_warnings *g:ale_emit_conflict_warnings* g:ale_enabled *g:ale_enabled* + *b:ale_enabled* Type: |Number| Default: `1` @@ -285,6 +286,16 @@ g:ale_enabled *g:ale_enabled* error checking will be performed, etc. ALE can be toggled on and off with the |ALEToggle| command, which changes this option. + ALE can be disabled in each buffer by setting `let b:ale_enabled = 0` + Disabling ALE based on filename patterns can be accomplished by setting + a regular expression for |g:ale_pattern_options|. For example: > + + " Disable linting for all minified JS files. + let g:ale_pattern_options = {'\.min.js$': {'ale_enabled': 0}} +< + + See |g:ale_pattern_options| for more information on that option. + g:ale_fixers *g:ale_fixers* *b:ale_fixers* |