Document ALELint autocommand

This commit is contained in:
Bjorn Neergaard 2016-10-13 08:01:48 -05:00 committed by w0rp
parent f37896a898
commit 3a20587502
1 changed files with 9 additions and 1 deletions

View File

@ -605,7 +605,7 @@ ale#statusline#Status() *ale#statusline#Status()*
Return a formatted string that can be added to the statusline.
The output's format is defined in |`g:ale_statusline_format`|.
To enable it, the following should be present in your |statusline| settings: >
%{ale#statusline#status()}
%{ale#statusline#Status()}
g:ale#util#stdin_wrapper *g:ale#util#stdin_wrapper*
@ -613,6 +613,14 @@ g:ale#util#stdin_wrapper *g:ale#util#stdin_wrapper*
which cannot accept input via stdin. See |ale#linter#Define()| for more.
ALELint *ALELint*
This |User| autocommand is triggered by ALE every time it completes a lint
operation. It can be used to update statuslines, send notifications, or
complete any other operation that needs to be done after a lint run.
It can be used simply:
autocmd User ALELint echom "ALE run!"
===============================================================================
6. Special Thanks *ale-special-thanks*