From 75a2dc5ff5f1975b1a80b59704ffdfd1902b050f Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 6 Mar 2017 23:15:28 +0000 Subject: Complain loudly when other conflicting plugins are installed --- plugin/ale.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugin/ale.vim') diff --git a/plugin/ale.vim b/plugin/ale.vim index e69aba18..bdbf3ad1 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -32,6 +32,9 @@ if !s:has_features finish endif +" Add the after directory to the runtimepath +let &runtimepath .= ',' . expand(':p:h:h') . '/after' + " Set this flag so that other plugins can use it, like airline. let g:loaded_ale = 1 @@ -41,6 +44,9 @@ if has('unix') && empty($TMPDIR) let $TMPDIR = '/tmp' endif +" This flag can be set to 0 to disable emitting conflict warnings. +let g:ale_emit_conflict_warnings = get(g:, 'ale_emit_conflict_warnings', 1) + " This global variable is used internally by ALE for tracking information for " each buffer which linters are being run against. let g:ale_buffer_info = {} -- cgit v1.2.3