From f88f59afb80868f3de1776cd85003e4b638a7c79 Mon Sep 17 00:00:00 2001 From: Jan Clarin Date: Thu, 30 Mar 2017 00:55:53 -0600 Subject: [PATCH] Fix #426 check for g:ale_emit_conflict_warnings existence --- after/plugin/ale.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/after/plugin/ale.vim b/after/plugin/ale.vim index 463b65a..8963c82 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