[Vim-latex-cvs] vimfiles/ftplugin/latex-suite main.vim,1.33,1.34
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-01-16 17:42:12
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv10046 Modified Files: main.vim Log Message: - Previously if a file which didn't have \usepackage{german} triggered latex-suite and then the user opened a file which did have \usepackage{german}, then b:Tex_SmartQuote* would not change. We want to process the \usepackage lines for every file... A first pass at implementing this. As a long term solution, make SetTeXOptions() trigger a user autocommand called LatexSuiteInit. This is caught by everyone who so wishes. This enables us to not have to modify main.vim everytime... Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** main.vim 16 Jan 2003 02:49:57 -0000 1.33 --- main.vim 16 Jan 2003 17:42:09 -0000 1.34 *************** *** 35,38 **** --- 35,42 ---- exe "so ".s:path.'/texrc' + augroup LatexSuite User LatexSuiteInit + au! + augroup END + " }}} *************** *** 579,582 **** --- 583,588 ---- " the first compiler plugin in 'runtimepath'. runtime compiler/tex.vim + + silent! do LatexSuite User LatexSuiteInit endfunction |