summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMartin Tournoij <martin@arp242.net>2017-12-10 13:03:03 +0000
committerMartin Tournoij <martin@arp242.net>2017-12-10 13:10:52 +0000
commit4825cce1cc9ec729ea59ae90eb819f67239d335b (patch)
tree22251e4b49a7fe0ea50ca2b29a986dc40e648ad5 /README.md
parentd6bf13502ad7a018a739b82bc068d299aacc5d26 (diff)
downloadale-4825cce1cc9ec729ea59ae90eb819f67239d335b.zip
Run before lint cycle, rename autocmds
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 0292d52c..fd919c09 100644
--- a/README.md
+++ b/README.md
@@ -497,14 +497,14 @@ Will give you:
ALE runs its own [autocmd](http://vimdoc.sourceforge.net/htmldoc/autocmd.html)
events whenever has a linter is started and has been successfully executed and
-processed. This autocmd event can be used to call arbitrary functions before and
-after ALE stops linting.
+processed. These events can be used to call arbitrary functions before and after
+ALE stops linting.
```vim
augroup YourGroup
autocmd!
- autocmd User ALEStartLint call YourFunction()
- autocmd User ALELint call YourFunction()
+ autocmd User ALELintPre call YourFunction()
+ autocmd User ALELintPost call YourFunction()
augroup END
```