From 6008371c11ad173d8b55722e805baf5cd6075c71 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Fri, 16 Aug 2013 08:05:42 +0300 Subject: [PATCH] Cleanup errorformat for tex/chktex. --- syntax_checkers/tex/chktex.vim | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/syntax_checkers/tex/chktex.vim b/syntax_checkers/tex/chktex.vim index d7a55e0f..43ae2f52 100644 --- a/syntax_checkers/tex/chktex.vim +++ b/syntax_checkers/tex/chktex.vim @@ -23,7 +23,7 @@ " - g:syntastic_tex_chktex_args (string; default: empty) " command line options to pass to chktex -if exists("g:loaded_syntastic_tex_chktex_checker") +if exists('g:loaded_syntastic_tex_chktex_checker') finish endif let g:loaded_syntastic_tex_chktex_checker = 1 @@ -33,7 +33,7 @@ if !exists('g:syntastic_tex_chktex_showmsgs') endif function! SyntaxCheckers_tex_chktex_IsAvailable() - return executable("chktex") + return executable('chktex') endfunction function! SyntaxCheckers_tex_chktex_GetLocList() @@ -44,10 +44,10 @@ function! SyntaxCheckers_tex_chktex_GetLocList() \ 'subchecker': 'chktex' }) let errorformat = - \ '%EError\ %\\d%\\+\ in\ %f\ line\ %l:\ %m,' . - \ '%WWarning\ %\\d%\\+\ in\ %f\ line\ %l:\ %m,' . - \ (g:syntastic_tex_chktex_showmsgs ? '%WMessage\ %\\d%\\+\ in\ %f\ line %l:\ %m,' : '') . - \ '%+Z%p^,' . + \ '%EError %n in %f line %l: %m,' . + \ '%WWarning %n in %f line %l: %m,' . + \ (g:syntastic_tex_chktex_showmsgs ? '%WMessage %n in %f line %l: %m,' : '') . + \ '%Z%p^,' . \ '%-G%.%#' return SyntasticMake({