diff options
author | w0rp <devw0rp@gmail.com> | 2018-09-04 16:51:18 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-09-04 16:51:18 +0100 |
commit | d476578a402763f2c6e4e0ada2eb345d0ac938d7 (patch) | |
tree | 77f5a61c6eada15821391ecb4f78b87fa8e406db /autoload/ale/engine.vim | |
parent | 8f2e1c393f74326979e1c74af8dc9b6ca8004778 (diff) | |
download | ale-d476578a402763f2c6e4e0ada2eb345d0ac938d7.zip |
Improve ALE project style checking
* The project style linter now runs while you type.
* Now the scripts for checking the project require blank lines.
* Many style issues have been found and fixed.
Diffstat (limited to 'autoload/ale/engine.vim')
-rw-r--r-- | autoload/ale/engine.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/ale/engine.vim b/autoload/ale/engine.vim index fdf883f5..b6c2d3c9 100644 --- a/autoload/ale/engine.vim +++ b/autoload/ale/engine.vim @@ -231,6 +231,7 @@ function! s:HandleExit(job_id, exit_code) abort if l:next_chain_index < len(get(l:linter, 'command_chain', [])) call s:InvokeChain(l:buffer, l:executable, l:linter, l:next_chain_index, l:output) + return endif @@ -595,9 +596,8 @@ function! ale#engine#ProcessChain(buffer, linter, chain_index, input) abort \) endif + " If we have a command to run, execute that. if !empty(l:command) - " We hit a command to run, so we'll execute that - " The chain item can override the output_stream option. if has_key(l:chain_item, 'output_stream') let l:output_stream = l:chain_item.output_stream |