Merge pull request #393 from naoina/fix-coffeelint-pattern

Fix pattern of output for coffeelint
This commit is contained in:
w0rp
2017-03-13 23:18:06 +00:00
committed by GitHub
2 changed files with 21 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ function! ale_linters#coffee#coffeelint#Handle(buffer, lines) abort
" stdin,14,,error,Throwing strings is forbidden
"
" Note that we currently ignore lineNumberEnd for multiline errors
let l:pattern = 'stdin,\(\d\+\),\(\d*\),\(.\+\),\(.\+\)'
let l:pattern = 'stdin,\(\d\+\),\(\d*\),\(.\{-1,}\),\(.\+\)'
let l:output = []
for l:line in a:lines