Cleanup errorformat for tex/lacheck.
This commit is contained in:
parent
6008371c11
commit
8fb6504f63
@ -10,13 +10,13 @@
|
|||||||
"
|
"
|
||||||
"============================================================================
|
"============================================================================
|
||||||
|
|
||||||
if exists("g:loaded_syntastic_tex_lacheck_checker")
|
if exists('g:loaded_syntastic_tex_lacheck_checker')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let g:loaded_syntastic_tex_lacheck_checker=1
|
let g:loaded_syntastic_tex_lacheck_checker=1
|
||||||
|
|
||||||
function! SyntaxCheckers_tex_lacheck_IsAvailable()
|
function! SyntaxCheckers_tex_lacheck_IsAvailable()
|
||||||
return executable("lacheck")
|
return executable('lacheck')
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! SyntaxCheckers_tex_lacheck_GetLocList()
|
function! SyntaxCheckers_tex_lacheck_GetLocList()
|
||||||
@ -25,7 +25,9 @@ function! SyntaxCheckers_tex_lacheck_GetLocList()
|
|||||||
\ 'filetype': 'tex',
|
\ 'filetype': 'tex',
|
||||||
\ 'subchecker': 'lacheck' })
|
\ 'subchecker': 'lacheck' })
|
||||||
|
|
||||||
let errorformat = '%-G** %f:,%E"%f"\, line %l: %m'
|
let errorformat =
|
||||||
|
\ '%-G** %f:,' .
|
||||||
|
\ '%E"%f"\, line %l: %m'
|
||||||
|
|
||||||
return SyntasticMake({
|
return SyntasticMake({
|
||||||
\ 'makeprg': makeprg,
|
\ 'makeprg': makeprg,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user