[Vim-latex-cvs] vimfiles/ftplugin/latex-suite main.vim,1.23,1.24
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-01-05 08:46:57
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv13350 Modified Files: main.vim Log Message: Bug: More debugging the debug functions! Ahh... The irony. The Tex_PrintDebug() function wasn't working well. Cause/Solution: used a:pattern instead of pattern Bug: Refer to 1.17 of envmacros.vim Solution: Used the Tex_SetFastEnvironmentMaps() from envmacros.vim in order to set buffer local mappings for the <F5> and <S-F5> keys for every tex file opened. Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** main.vim 4 Jan 2003 00:49:53 -0000 1.23 --- main.vim 5 Jan 2003 08:46:52 -0000 1.24 *************** *** 4,8 **** " Email: sr...@fa... " URL: ! " Last Change: Fri Jan 03 04:00 PM 2003 PST " " Help: --- 4,8 ---- " Email: sr...@fa... " URL: ! " Last Change: Sun Jan 05 12:00 AM 2003 PST " " Help: *************** *** 451,455 **** endif if exists('s:debugString_'.pattern) ! echo s:debugString_{a:pattern} endif endfunction " }}} --- 451,455 ---- endif if exists('s:debugString_'.pattern) ! echo s:debugString_{pattern} endif endfunction " }}} *************** *** 509,512 **** --- 509,517 ---- if g:Tex_SmartKeyDot inoremap <buffer> <silent> . <C-R>=<SID>SmartDots()<CR> + endif + call Tex_Debug('checking to see if Tex_SetFastEnvironmentMaps needs to be called.', 'main') + if g:Tex_PromptedEnvironments != '' || g:Tex_HotKeyMappings != '' + call Tex_Debug('calling Tex_SetFastEnvironmentMaps', 'main') + call Tex_SetFastEnvironmentMaps() endif |