diff options
author | w0rp <devw0rp@gmail.com> | 2018-10-29 18:28:28 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-10-29 18:28:28 +0000 |
commit | caac5c93d658c8ad05786194156a321e016d5ba0 (patch) | |
tree | 331f42c17491125fddacbbb33f60a3b3258da0ad /autoload/ale.vim | |
parent | 2846e862178e9a16e078799c28aa9d9d4a2ea505 (diff) | |
download | ale-caac5c93d658c8ad05786194156a321e016d5ba0.zip |
#2017 Add support for display results from other sources
Diffstat (limited to 'autoload/ale.vim')
-rw-r--r-- | autoload/ale.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/autoload/ale.vim b/autoload/ale.vim index dddb41db..f6c23d72 100644 --- a/autoload/ale.vim +++ b/autoload/ale.vim @@ -94,6 +94,11 @@ function! s:Lint(buffer, should_lint_file, timer_id) abort \ ? ale#engine#ignore#Exclude(l:filetype, l:linters, l:ignore_config) \ : l:linters + " Tell other sources that they can start checking the buffer now. + let g:ale_want_results_buffer = a:buffer + silent doautocmd <nomodeline> User ALEWantResults + unlet! g:ale_want_results_buffer + " Don't set up buffer data and so on if there are no linters to run. if !has_key(g:ale_buffer_info, a:buffer) && empty(l:linters) return |