Fix #1062 - Use <nomodeline> for the ALELint autocmd, so we don not mess with folds, etc.

This commit is contained in:
w0rp 2017-11-05 17:34:36 +00:00
parent 34674e088d
commit caed406e16
1 changed files with 1 additions and 1 deletions

View File

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