From d7ed49f84964aebdaa180b553e83943cd85c5d20 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 22 Jan 2017 14:54:57 +0000 Subject: Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues. --- ale_linters/haskell/ghc.vim | 2 +- ale_linters/haskell/hlint.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ale_linters/haskell') diff --git a/ale_linters/haskell/ghc.vim b/ale_linters/haskell/ghc.vim index def883e3..5ddc15fe 100644 --- a/ale_linters/haskell/ghc.vim +++ b/ale_linters/haskell/ghc.vim @@ -7,7 +7,7 @@ endif let g:loaded_ale_linters_haskell_ghc = 1 -function! ale_linters#haskell#ghc#Handle(buffer, lines) +function! ale_linters#haskell#ghc#Handle(buffer, lines) abort " Look for lines like the following. " " /dev/stdin:28:26: Not in scope: `>>>>>' diff --git a/ale_linters/haskell/hlint.vim b/ale_linters/haskell/hlint.vim index 3aa93fa1..5b870e3d 100644 --- a/ale_linters/haskell/hlint.vim +++ b/ale_linters/haskell/hlint.vim @@ -1,7 +1,7 @@ " Author: jparoz " Description: hlint for Haskell files -function! ale_linters#haskell#hlint#Handle(buffer, lines) +function! ale_linters#haskell#hlint#Handle(buffer, lines) abort let l:errors = json_decode(join(a:lines, '')) let l:output = [] -- cgit v1.2.3