Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv8712
Modified Files:
packages.vim
Log Message:
Bug: loading templates no longer works.
Why: Apparently if one is editing a file, say file.tex which is modified,
then one cannot do ":split file.tex"
Fix: Only split a window if the main file name is not the current file.
TODO: What happens if the main file is being opened in a seperate
window and is modified?
Index: packages.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages.vim,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** packages.vim 15 Dec 2003 03:33:52 -0000 1.44
--- packages.vim 17 Dec 2003 03:12:31 -0000 1.45
***************
*** 139,144 ****
let g:Tex_PromptedCommands = g:Tex_PromptedCommandsDefault
! call Tex_Debug(':Tex_pack_updateall: split '.Tex_EscapeSpaces(fname), 'pack')
! exe 'split '.Tex_EscapeSpaces(fname)
call Tex_ScanForPackages()
q
--- 139,150 ----
let g:Tex_PromptedCommands = g:Tex_PromptedCommandsDefault
! if expand('%:p') != fname
! call Tex_Debug(':Tex_pack_updateall: split '.Tex_EscapeSpaces(fname), 'pack')
! exe 'split '.Tex_EscapeSpaces(fname)
! else
! call Tex_Debug(':Tex_pack_updateall: split')
! split
! endif
!
call Tex_ScanForPackages()
q
|