diff options
author | Martin Tournoij <martin@arp242.net> | 2017-12-10 13:03:03 +0000 |
---|---|---|
committer | Martin Tournoij <martin@arp242.net> | 2017-12-10 13:10:52 +0000 |
commit | 4825cce1cc9ec729ea59ae90eb819f67239d335b (patch) | |
tree | 22251e4b49a7fe0ea50ca2b29a986dc40e648ad5 /README.md | |
parent | d6bf13502ad7a018a739b82bc068d299aacc5d26 (diff) | |
download | ale-4825cce1cc9ec729ea59ae90eb819f67239d335b.zip |
Run before lint cycle, rename autocmds
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 ``` |