summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-02-21 11:50:59 +0000
committerw0rp <devw0rp@gmail.com>2017-02-21 11:50:59 +0000
commit884109c6f4591ad057465b02fddae62c7be92c7f (patch)
tree8250216949be98ab22f0566d0507575f072fe423 /autoload
parent3c4af280f03aed86a5ff99fc7a66984ec322b5cf (diff)
downloadale-884109c6f4591ad057465b02fddae62c7be92c7f.zip
Add an extra custom check for using endif instead of end, etc.
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/handlers.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/ale/handlers.vim b/autoload/ale/handlers.vim
index 93282a4b..96be427f 100644
--- a/autoload/ale/handlers.vim
+++ b/autoload/ale/handlers.vim
@@ -258,7 +258,8 @@ function! ale#handlers#HandleGhcFormat(buffer, lines) abort
else
let l:type = ''
let l:text = l:match[3]
- end
+ endif
+
let l:type = l:type ==# '' ? 'E' : toupper(l:type[0])
call add(l:output, {