[Vim-latex-cvs] vimfiles/ftplugin/latex-suite main.vim,1.50,1.51
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-10-09 21:52:11
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv32751 Modified Files: main.vim Log Message: New: A function Tex_GetErrorList which extracts the errors from vim's :clist Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** main.vim 29 Sep 2003 02:23:49 -0000 1.50 --- main.vim 9 Oct 2003 21:52:06 -0000 1.51 *************** *** 634,637 **** --- 634,648 ---- " }}} + " Tex_GetErrorList: returns vim's clist {{{ + " Description: returns the contents of the error list available via the :clist + " command. + function! Tex_GetErrorList() + let _a = @a + redir @a | silent! clist | redir END + let errlist = @a + let @a = _a + + return errlist + endfunction " }}} " source texproject.vim before other files |