diff options
author | Bjorn Neergaard <bjorn@neersighted.com> | 2016-10-12 15:13:22 -0500 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2016-10-13 15:05:42 +0100 |
commit | f37896a8988157e5d8d518702e059d5313e162d2 (patch) | |
tree | 4230ea29d62200d2a6b1c906588e1b754caf28d0 /autoload | |
parent | 86ee54e271955e3a7e72cc395f6f3b67c93b1c81 (diff) | |
download | ale-f37896a8988157e5d8d518702e059d5313e162d2.zip |
Implement autocommand support
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/engine.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/autoload/ale/engine.vim b/autoload/ale/engine.vim index 1d0ad3d5..e29f3fda 100644 --- a/autoload/ale/engine.vim +++ b/autoload/ale/engine.vim @@ -113,6 +113,9 @@ function! s:HandleExit(job) abort call ale#statusline#Update(l:buffer, g:ale_buffer_loclist_map[l:buffer]) endif + " Call user autocommands. This allows users to hook into ALE's lint cycle. + doautocmd User ALELint + " Mark line 200, column 17 with a squiggly line or something " matchadd('ALEError', '\%200l\%17v') endfunction |