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/php/hack.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/php/hack.vim') diff --git a/ale_linters/php/hack.vim b/ale_linters/php/hack.vim index bacd835d..5c90247b 100644 --- a/ale_linters/php/hack.vim +++ b/ale_linters/php/hack.vim @@ -1,7 +1,7 @@ " Author: Zefei Xuan " Description: Hack type checking (http://hacklang.org/) -function! ale_linters#php#hack#Handle(buffer, lines) +function! ale_linters#php#hack#Handle(buffer, lines) abort let l:pattern = '^\(.*\):\(\d\+\):\(\d\+\),\(\d\+\): \(.\+])\)$' let l:output = [] -- cgit v1.2.3