summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-11-06 11:31:17 -0800
committerGitHub <noreply@github.com>2018-11-06 11:31:17 -0800
commit25068de91d1ff61cba02da4ad19f45d35c634eb9 (patch)
treee3c9e58d5176b6756b6d04c66d257ea4c084e8f1
parentc41dbe2ba9862037122b98fa2bb55fd72d277b74 (diff)
downloadale-25068de91d1ff61cba02da4ad19f45d35c634eb9.zip
Fix incorrect warning match
Co-Authored-By: luan <github@luan.sh>
-rw-r--r--autoload/ale/cursor.vim2
1 files changed, 1 insertions, 1 deletions
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