From: <sri...@us...> - 2006-01-01 07:53:09
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23893 Modified Files: envmacros.vim main.vim Log Message: New: Make EFI mapping honor the Tex_Env_figure setting. Index: envmacros.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/envmacros.vim,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** envmacros.vim 19 Nov 2005 22:35:47 -0000 1.49 --- envmacros.vim 1 Jan 2006 07:53:01 -0000 1.50 *************** *** 262,266 **** " Miscellaneous {{{ call s:Tex_SpecialMacros('', '', '-sepenv1-', ' :', 0) ! call s:Tex_SpecialMacros('EFI', '', 'figure', "\<C-r>=Tex_figure('figure')\<CR>") call s:Tex_EnvMacros('', '', 'figure*') call s:Tex_EnvMacros('ELR', '', 'lrbox') --- 262,266 ---- " Miscellaneous {{{ call s:Tex_SpecialMacros('', '', '-sepenv1-', ' :', 0) ! call s:Tex_SpecialMacros('EFI', '', 'figure', "\<C-r>=Tex_PutEnvironment('figure')\<CR>") call s:Tex_EnvMacros('', '', 'figure*') call s:Tex_EnvMacros('ELR', '', 'lrbox') Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.87 retrieving revision 1.88 diff -C2 -d -r1.87 -r1.88 *** main.vim 28 Dec 2005 01:17:12 -0000 1.87 --- main.vim 1 Jan 2006 07:53:01 -0000 1.88 *************** *** 371,375 **** " exists and if so, returns the corresponding value. If none exist, return " an empty string. ! function! Tex_GetVarValue(varname) if exists('w:'.a:varname) return w:{a:varname} --- 371,375 ---- " exists and if so, returns the corresponding value. If none exist, return " an empty string. ! function! Tex_GetVarValue(varname, ...) if exists('w:'.a:varname) return w:{a:varname} *************** *** 378,381 **** --- 378,383 ---- elseif exists('g:'.a:varname) return g:{a:varname} + elseif a:0 > 0 + return a:1 else return '' *************** *** 636,640 **** " keep that as a stable point. function! Tex_Version() ! return "Latex-Suite: version 1.8.01" endfunction --- 638,642 ---- " keep that as a stable point. function! Tex_Version() ! return "Latex-Suite: version 1.8.02" endfunction |