Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv10974
Modified Files:
main.vim
Log Message:
Recently, I had to fix a bug in packages.vim which made vim quit as soon as
it was open. Since I couldn't use the Tex_PrintDebug() function, I made a
little change which created a log file in the /tmp directory. This might be
a useful thing to have in the future, but ofcourse, it should definitely be
off by default.
Index: main.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** main.vim 15 Dec 2003 03:33:52 -0000 1.58
--- main.vim 16 Dec 2003 19:43:22 -0000 1.59
***************
*** 592,598 ****
\ . pattern.' : '.a:str."\n"
! redir! >> /tmp/ls.log
! silent! echo pattern.' : '.a:str
! redir END
endfunction " }}}
" Tex_PrintDebug: prings s:debugString {{{
--- 592,600 ----
\ . pattern.' : '.a:str."\n"
! if Tex_GetVarValue('Tex_DebugLog', '') != ''
! exec 'redir! >> '.Tex_GetVarValue('Tex_DebugLog', '')
! silent! echo pattern.' : '.a:str
! redir END
! endif
endfunction " }}}
" Tex_PrintDebug: prings s:debugString {{{
|