Add an extra custom check for using endif instead of end, etc.

This commit is contained in:
w0rp
2017-02-21 11:50:59 +00:00
parent 3c4af280f0
commit 884109c6f4
2 changed files with 8 additions and 1 deletions

View File

@@ -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, {