summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 52b3059b..23e8572a 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -36,7 +36,9 @@ endif
let g:ale_emit_conflict_warnings = get(g:, 'ale_emit_conflict_warnings', 1)
if g:ale_emit_conflict_warnings
+\&& match(&runtimepath, '[/\\]ale[/\\]after') < 0
" Add the after directory to the runtimepath
+ " This is only done if the after directory isn't already in runtimepath
let &runtimepath .= ',' . expand('<sfile>:p:h:h') . '/after'
endif