Hlint: fix column calculations.
This commit is contained in:
parent
30198e1091
commit
841087faba
@ -18,7 +18,7 @@ if has('reltime')
|
||||
let g:syntastic_start = reltime()
|
||||
endif
|
||||
|
||||
let g:syntastic_version = '3.4.0-21'
|
||||
let g:syntastic_version = '3.4.0-22'
|
||||
|
||||
" Sanity checks {{{1
|
||||
|
||||
|
@ -18,13 +18,14 @@ function! SyntaxCheckers_haskell_hlint_GetLocList() dict
|
||||
\ 'fname': syntastic#util#shexpand('%:p')})
|
||||
|
||||
let errorformat =
|
||||
\ '%E%f:%l:%c: Error: %m,' .
|
||||
\ '%W%f:%l:%c: Warning: %m,' .
|
||||
\ '%E%f:%l:%v: Error: %m,' .
|
||||
\ '%W%f:%l:%v: Warning: %m,' .
|
||||
\ '%C%m'
|
||||
|
||||
return SyntasticMake({
|
||||
\ 'makeprg': makeprg,
|
||||
\ 'errorformat': errorformat,
|
||||
\ 'defaults': {'vcol': 1},
|
||||
\ 'postprocess': ['compressWhitespace'] })
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user