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 user autocommands. This allows users to hook into ALE's lint cycle.
|
||||
silent doautocmd User ALELint
|
||||
silent doautocmd <nomodeline> User ALELint
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user