summaryrefslogtreecommitdiff
path: root/after/plugin/ale.vim
diff options
context:
space:
mode:
authorJan Clarin <hi@janclarin.com>2017-03-30 00:55:53 -0600
committerJan Clarin <hi@janclarin.com>2017-03-30 01:16:34 -0600
commitf88f59afb80868f3de1776cd85003e4b638a7c79 (patch)
tree042d489fb35a428f8c2cfee7ff3c1dca9f23ce81 /after/plugin/ale.vim
parent2a88b60ff1ef5a4e9e73dc0d3be9f8ac51ec1309 (diff)
downloadale-f88f59afb80868f3de1776cd85003e4b638a7c79.zip
Fix #426 check for g:ale_emit_conflict_warnings existence
Diffstat (limited to 'after/plugin/ale.vim')
-rw-r--r--after/plugin/ale.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/after/plugin/ale.vim b/after/plugin/ale.vim
index 463b65a5..8963c822 100644
--- a/after/plugin/ale.vim
+++ b/after/plugin/ale.vim
@@ -4,7 +4,9 @@ endif
let g:loaded_ale_after = 1
-if !g:ale_emit_conflict_warnings
+" Check if the flag is available and set to 0 to disable checking for and
+" emitting conflicting plugin warnings.
+if exists('g:ale_emit_conflict_warnings') && !g:ale_emit_conflict_warnings
finish
endif