mirror of https://github.com/dense-analysis/ale
Implement autocommand support
This commit is contained in:
parent
86ee54e271
commit
f37896a898
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue