From 25068de91d1ff61cba02da4ad19f45d35c634eb9 Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 6 Nov 2018 11:31:17 -0800 Subject: [PATCH] Fix incorrect warning match Co-Authored-By: luan --- autoload/ale/cursor.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/ale/cursor.vim b/autoload/ale/cursor.vim index 9b4b9c1a..090a3553 100644 --- a/autoload/ale/cursor.vim +++ b/autoload/ale/cursor.vim @@ -142,7 +142,7 @@ function! ale#cursor#EchoCursorWarning(...) abort if l:type is# 'E' let l:hl_group = 'ALEError' - elseif l:type is# 'I' + elseif l:type is# 'W' let l:hl_group = 'ALEWarning' endif