Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13441
Modified Files:
main.vim
Log Message:
Bug: Multiple compilation chain is broken without any errors for
non-english speaking locales (Javier Rojas)
Why: We try to see ``errlist =~ 'E42: No errors'`` which for non-english
locales fails because 'No errors' is translated to the current locale.
Fix: Just check for `=~ '^E42: '`. This should be robust enough.
Index: main.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v
retrieving revision 1.90
retrieving revision 1.91
diff -C2 -d -r1.90 -r1.91
*** main.vim 3 Jan 2006 08:40:39 -0000 1.90
--- main.vim 10 Jan 2006 01:59:11 -0000 1.91
***************
*** 571,575 ****
let @a = _a
! if errlist =~ 'E42: No Errors'
let errlist = ''
endif
--- 571,575 ----
let @a = _a
! if errlist =~ '^E42: '
let errlist = ''
endif
***************
*** 638,642 ****
" keep that as a stable point.
function! Tex_Version()
! return "Latex-Suite: version 1.8.04"
endfunction
--- 638,642 ----
" keep that as a stable point.
function! Tex_Version()
! return "Latex-Suite: version 1.8.05"
endfunction
|