From 8fb6504f63c335f10a388c26867d575a3d5d53eb Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Fri, 16 Aug 2013 08:07:54 +0300 Subject: [PATCH] Cleanup errorformat for tex/lacheck. --- syntax_checkers/tex/lacheck.vim | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/syntax_checkers/tex/lacheck.vim b/syntax_checkers/tex/lacheck.vim index 38510e85..d68a519a 100644 --- a/syntax_checkers/tex/lacheck.vim +++ b/syntax_checkers/tex/lacheck.vim @@ -10,13 +10,13 @@ " "============================================================================ -if exists("g:loaded_syntastic_tex_lacheck_checker") +if exists('g:loaded_syntastic_tex_lacheck_checker') finish endif let g:loaded_syntastic_tex_lacheck_checker=1 function! SyntaxCheckers_tex_lacheck_IsAvailable() - return executable("lacheck") + return executable('lacheck') endfunction function! SyntaxCheckers_tex_lacheck_GetLocList() @@ -25,7 +25,9 @@ function! SyntaxCheckers_tex_lacheck_GetLocList() \ 'filetype': 'tex', \ 'subchecker': 'lacheck' }) - let errorformat = '%-G** %f:,%E"%f"\, line %l: %m' + let errorformat = + \ '%-G** %f:,' . + \ '%E"%f"\, line %l: %m' return SyntasticMake({ \ 'makeprg': makeprg,