#1054 - Prevent ALE from adding the after directory to runtimepath too much
This commit is contained in:
parent
d4d939bea9
commit
73b8181ce6
@ -36,7 +36,9 @@ endif
|
|||||||
let g:ale_emit_conflict_warnings = get(g:, 'ale_emit_conflict_warnings', 1)
|
let g:ale_emit_conflict_warnings = get(g:, 'ale_emit_conflict_warnings', 1)
|
||||||
|
|
||||||
if g:ale_emit_conflict_warnings
|
if g:ale_emit_conflict_warnings
|
||||||
|
\&& match(&runtimepath, '[/\\]ale[/\\]after') < 0
|
||||||
" Add the after directory to the runtimepath
|
" 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'
|
let &runtimepath .= ',' . expand('<sfile>:p:h:h') . '/after'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user