summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-13 15:05:52 +0100
committerw0rp <devw0rp@gmail.com>2016-10-13 15:05:52 +0100
commitd4e13ca89ca114a14a2e78d89a73af2b7e7e6d8f (patch)
tree07b2957083be82a5edc6572c04c1bd447d5b1070 /doc
parent86ee54e271955e3a7e72cc395f6f3b67c93b1c81 (diff)
parent3a2058750215978902d5ee172ca1681fb42e68fa (diff)
downloadale-d4e13ca89ca114a14a2e78d89a73af2b7e7e6d8f.zip
Merge branch 'autocmd'
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 92920ba4..d8dd8664 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -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*