diff options
author | w0rp <devw0rp@gmail.com> | 2017-05-26 21:21:15 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-05-26 21:21:15 +0100 |
commit | 00d314196215ea25c8ad0e91d1b023d3ac87ace5 (patch) | |
tree | d98e9d136ed22b766ef8e9c6f07c789441205844 /plugin | |
parent | 28a62aab28fde52651f452c28b273fc595b75ead (diff) | |
download | ale-00d314196215ea25c8ad0e91d1b023d3ac87ace5.zip |
Fix #577 Add an option preventing linting of large files
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/ale.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim index 14e880d9..b5991549 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -167,6 +167,9 @@ let g:ale_history_log_output = get(g:, 'ale_history_log_output', 0) call ale#Set('pattern_options', {}) call ale#Set('pattern_options_enabled', !empty(g:ale_pattern_options)) +" A maximum file size for checking for errors. +call ale#Set('maximum_file_size', 0) + function! ALEInitAuGroups() abort " This value used to be a Boolean as a Number, and is now a String. let l:text_changed = '' . g:ale_lint_on_text_changed |