[Vim-latex-cvs] vimfiles/ftplugin/latex-suite main.vim,1.10,1.11
Brought to you by:
srinathava,
tmaas
From: <mi...@us...> - 2002-11-25 00:01:12
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv12605 Modified Files: main.vim Log Message: fixed: SetTeXOptions breaking textwidth settings Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** main.vim 23 Nov 2002 21:39:22 -0000 1.10 --- main.vim 25 Nov 2002 00:01:09 -0000 1.11 *************** *** 4,8 **** " Email: sr...@fa... " URL: ! " Last Change: sob lis 23 10:00 2002 C " " Help: --- 4,8 ---- " Email: sr...@fa... " URL: ! " Last Change: pon lis 25 12:00 2002 C " " Help: *************** *** 475,478 **** --- 475,481 ---- " Finally set up the folding, options, mappings and quit. " ============================================================================== + " Save 'tw' + let textw = &textwidth + " SetTeXOptions: sets options/mappings for this file. {{{ function! <SID>SetTeXOptions() *************** *** 532,537 **** " }}} ! " Mappings defined in package files will overwritten all other exe 'source '.s:path.'/packages.vim' let &cpo = s:save_cpo --- 535,543 ---- " }}} ! " Mappings defined in package files will overwrite all other exe 'source '.s:path.'/packages.vim' + + " Restore 'tw' + let &textwidth = textw let &cpo = s:save_cpo |