mirror of https://github.com/dense-analysis/ale
Fix #1062 - Use <nomodeline> for the ALELint autocmd, so we don not mess with folds, etc.
This commit is contained in:
parent
34674e088d
commit
caed406e16
|
@ -312,7 +312,7 @@ function! ale#engine#SetResults(buffer, loclist) abort
|
||||||
call ale#engine#RemoveManagedFiles(a:buffer)
|
call ale#engine#RemoveManagedFiles(a:buffer)
|
||||||
|
|
||||||
" Call user autocommands. This allows users to hook into ALE's lint cycle.
|
" Call user autocommands. This allows users to hook into ALE's lint cycle.
|
||||||
silent doautocmd User ALELint
|
silent doautocmd <nomodeline> User ALELint
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue