summaryrefslogtreecommitdiff
path: root/plugin/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-03-06 23:15:28 +0000
committerw0rp <devw0rp@gmail.com>2017-03-06 23:15:34 +0000
commit75a2dc5ff5f1975b1a80b59704ffdfd1902b050f (patch)
tree71d0eea5647cccaceda29757af7ca292c536bfd8 /plugin/ale.vim
parent70fb1606adbbcfd29ba54b22f9b85fa8e3bd8e64 (diff)
downloadale-75a2dc5ff5f1975b1a80b59704ffdfd1902b050f.zip
Complain loudly when other conflicting plugins are installed
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r--plugin/ale.vim6
1 files changed, 6 insertions, 0 deletions
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('<sfile>: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 = {}