" LaTeX filetype " Language: LaTeX (ft=tex) " Maintainer: Srinath Avadhanula " CVS: $Id: main.vim 999 2006-03-21 05:32:37Z srinathava $ " URL: " line continuation used here. let s:save_cpo = &cpo set cpo&vim " avoiding re-inclusion {{{ " the avoiding re-inclusion statement is not provided here because the files " which call this file should in the normal course of events handle the " re-inclusion stuff. " we definitely dont want to run through the entire file each and every time. " only once to define the functions. for successive latex files, just set up " the folding and mappings and quit. if exists('s:doneFunctionDefinitions') && !exists('b:forceRedoLocalTex') call s:SetTeXOptions() finish endif let s:doneFunctionDefinitions = 1 " get the place where this plugin resides for setting cpt and dict options. " these lines need to be outside the function. let s:path = expand(':p:h') " set up personal defaults. runtime ftplugin/tex/texrc " set up global defaults. exe "so ".s:path.'/texrc' " }}} nmap