Run before lint cycle, rename autocmds
This commit is contained in:
parent
d6bf13502a
commit
4825cce1cc
4 changed files with 37 additions and 49 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
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue