Fix #577 Add an option preventing linting of large files

This commit is contained in:
w0rp 2017-05-26 21:21:15 +01:00
parent 28a62aab28
commit 00d3141962
5 changed files with 81 additions and 44 deletions

View file

@ -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