diff options
-rw-r--r-- | autoload/ale/handlers.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/handlers.vim b/autoload/ale/handlers.vim index d6be810a..b7da32f2 100644 --- a/autoload/ale/handlers.vim +++ b/autoload/ale/handlers.vim @@ -67,7 +67,7 @@ function! ale#handlers#HandleGCCFormat(buffer, lines) abort \ 'vcol': 0, \ 'col': l:match[2] + 0, \ 'text': l:match[4], - \ 'type': l:match[3] ==# 'error' ? 'E' : 'W', + \ 'type': l:match[3] =~# 'error' ? 'E' : 'W', \ 'nr': -1, \}) endfor |