diff options
author | w0rp <devw0rp@gmail.com> | 2017-11-05 17:34:36 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-11-05 17:34:36 +0000 |
commit | caed406e16b1c6c4212553b0feec992ca289daac (patch) | |
tree | f3594d4fbe9c0d46ef8cbd1cbb56f421eea14de6 | |
parent | 34674e088d7d990d21a4cee5e289200cee5f9d6c (diff) | |
download | ale-caed406e16b1c6c4212553b0feec992ca289daac.zip |
Fix #1062 - Use <nomodeline> for the ALELint autocmd, so we don not mess with folds, etc.
-rw-r--r-- | autoload/ale/engine.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/engine.vim b/autoload/ale/engine.vim index 1b22df46..f2553b2a 100644 --- a/autoload/ale/engine.vim +++ b/autoload/ale/engine.vim @@ -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 |