summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorJohannes Wienke <languitar@semipol.de>2017-12-18 17:10:57 +0100
committerJohannes Wienke <languitar@semipol.de>2017-12-18 17:10:57 +0100
commit79aaec5a99c2fa4455758d4b0483b13fe4e0db78 (patch)
treee38943ec759626e5fc22f9d1c0306696298fc298 /autoload
parent5577d567d13ab922ee1c97fc5d17d468f4c30876 (diff)
downloadale-79aaec5a99c2fa4455758d4b0483b13fe4e0db78.zip
Missing warning level 'suggestion' for vale
Vale can also, optionally, raise suggestions. These weren't covered yet.
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/handlers/vale.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/autoload/ale/handlers/vale.vim b/autoload/ale/handlers/vale.vim
index c8420572..9dc0872f 100644
--- a/autoload/ale/handlers/vale.vim
+++ b/autoload/ale/handlers/vale.vim
@@ -4,6 +4,8 @@
function! ale#handlers#vale#GetType(severity) abort
if a:severity is? 'warning'
return 'W'
+ elseif a:severity is? 'suggestion'
+ return 'I'
endif
return 'E'