summaryrefslogtreecommitdiff
path: root/autoload/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-10-29 18:28:28 +0000
committerw0rp <devw0rp@gmail.com>2018-10-29 18:28:28 +0000
commitcaac5c93d658c8ad05786194156a321e016d5ba0 (patch)
tree331f42c17491125fddacbbb33f60a3b3258da0ad /autoload/ale.vim
parent2846e862178e9a16e078799c28aa9d9d4a2ea505 (diff)
downloadale-caac5c93d658c8ad05786194156a321e016d5ba0.zip
#2017 Add support for display results from other sources
Diffstat (limited to 'autoload/ale.vim')
-rw-r--r--autoload/ale.vim5
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