- 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.
  Make Tex_pack_updateall() get called every time SetTeXOptions() is called
  by catching the LatexSuiteInit event thrown by SetTeXOptions().
  TODO: This makes things slow, because Tex_pack_updateall is kind of dumb
        updating the menu list... Often times, multiple files in the same
        vim session use the same main file. In this case, it doesn't make
        sense to "uncheck" all the menus and recreate them again. I'll
        optimize it later to use such information...
This commit is contained in:
Srinath Avadhanula
2003-01-16 17:49:08 +00:00
parent 797b816edf
commit 9dc558fc43
+4
View File
@@ -453,4 +453,8 @@ if g:Tex_Menus
endif
augroup LatexSuite
au LatexSuite User LatexSuiteInit call Tex_pack_updateall()
augroup END
" vim:fdm=marker:ts=4:sw=4:noet:ff=unix