summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-05 17:34:36 +0000
committerw0rp <devw0rp@gmail.com>2017-11-05 17:34:36 +0000
commitcaed406e16b1c6c4212553b0feec992ca289daac (patch)
treef3594d4fbe9c0d46ef8cbd1cbb56f421eea14de6 /autoload
parent34674e088d7d990d21a4cee5e289200cee5f9d6c (diff)
downloadale-caed406e16b1c6c4212553b0feec992ca289daac.zip
Fix #1062 - Use <nomodeline> for the ALELint autocmd, so we don not mess with folds, etc.
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/engine.vim2
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