Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages
In directory sc8-pr-cvs1:/tmp/cvs-serv28859
Modified Files:
babel
Log Message:
added regular latex commands to babel package file
Index: babel
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/babel,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** babel 17 Jan 2003 10:05:36 -0000 1.1
--- babel 18 Jan 2003 18:36:43 -0000 1.2
***************
*** 6,9 ****
--- 6,69 ----
" g:Tex_babel_options contain the necessary information.
+ let g:TeX_package_option_babel =
+ \ 'afrikaans,'
+ \.'bahasa,'
+ \.'basque,'
+ \.'breton,'
+ \.'bulgarian,'
+ \.'catalan,'
+ \.'croatian,'
+ \.'chech,'
+ \.'danish,'
+ \.'dutch,'
+ \.'english,USenglish,american,UKenglish,british,canadian,'
+ \.'esperanto,'
+ \.'estonian,'
+ \.'finnish,'
+ \.'french,francais,canadien,acadian,'
+ \.'galician,'
+ \.'austrian,german,germanb,ngerman,naustrian,'
+ \.'greek,polutonikogreek,'
+ \.'hebrew,'
+ \.'magyar,hungarian,'
+ \.'icelandic,'
+ \.'irish,'
+ \.'italian,'
+ \.'latin,'
+ \.'lowersorbian,'
+ \.'samin,'
+ \.'norsk,nynorsk,'
+ \.'polish,'
+ \.'portuges,portuguese,brazilian,brazil,'
+ \.'romanian,'
+ \.'russian,'
+ \.'scottish,'
+ \.'spanish,'
+ \.'slovak,'
+ \.'slovene,'
+ \.'swedish,'
+ \.'serbian,'
+ \.'turkish,'
+ \.'ukrainian,'
+ \.'uppersorbian,'
+ \.'welsh'
+
+ let g:TeX_package_babel =
+ \ 'bra:selectlanguage,'
+ \.'env:otherlanguage,'
+ \.'env:otherlanguage*,'
+ \.'env:hyphenrules,'
+ \.'brd:foreignlanguage,'
+ \.'spe:iflanguage{<+name+>}{<+true+>}{<+false+>},'
+ \.'languagename,'
+ \.'bra:useshorthands,'
+ \.'brd:defineshorthand,'
+ \.'brd:aliasshorthand,'
+ \.'bra:languageshorthans,'
+ \.'bra:shorthandon,'
+ \.'bra:shorthandoff,'
+ \.'brd:languageattribute'
+
+ " vim:ft=vim:ff=unix:
if exists('s:doneOnce')
finish
***************
*** 23,28 ****
function! <SID>SetQuotes()
if g:Tex_package_detected =~ '\<babel\>'
! if g:Tex_babel_options =~ 'german'
exec 'so '.s:path.'/german'
endif
endif
--- 83,90 ----
function! <SID>SetQuotes()
if g:Tex_package_detected =~ '\<babel\>'
! if g:Tex_babel_options =~ '\<german\>'
exec 'so '.s:path.'/german'
+ elseif g:Tex_babel_options =~ '\<ngerman\>'
+ exec 'so '.s:path.'/ngerman'
endif
endif
|