mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 05:04:28 +08:00
Fix #1062 - Use <nomodeline> for the ALELint autocmd, so we don not mess with folds, etc.
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user