Implement autocommand support

This commit is contained in:
Bjorn Neergaard 2016-10-12 15:13:22 -05:00 committed by w0rp
parent 86ee54e271
commit f37896a898
1 changed files with 3 additions and 0 deletions

View File

@ -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