diff options
author | w0rp <devw0rp@gmail.com> | 2017-02-21 11:50:59 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-02-21 11:50:59 +0000 |
commit | 884109c6f4591ad057465b02fddae62c7be92c7f (patch) | |
tree | 8250216949be98ab22f0566d0507575f072fe423 /autoload | |
parent | 3c4af280f03aed86a5ff99fc7a66984ec322b5cf (diff) | |
download | ale-884109c6f4591ad057465b02fddae62c7be92c7f.zip |
Add an extra custom check for using endif instead of end, etc.
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/handlers.vim | 3 |
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, { |