Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv31422/ftplugin/latex-suite
Modified Files:
main.vim texmenuconf.vim
Added Files:
projecttemplate.vim texproject.vim
Log Message:
Included project features
Index: main.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** main.vim 11 Apr 2003 21:21:50 -0000 1.36
--- main.vim 23 Apr 2003 17:28:29 -0000 1.37
***************
*** 403,406 ****
--- 403,411 ----
exe 'cd '.expand('%:p:h')
let lheadfile = glob('*.latexmain')
+ " dirty hack to check in dir one level up. TODO: while with ":h" mod.
+ if lheadfile == ''
+ cd ..
+ let lheadfile = glob('*.latexmain')
+ endif
if lheadfile != ''
let lheadfile = fnamemodify(lheadfile, modifier)
***************
*** 526,529 ****
--- 531,535 ----
exe 'source '.s:path.'/bibtex.vim'
exe 'source '.s:path.'/diacritics.vim'
+ exe 'source '.s:path.'/texproject.vim'
" ==============================================================================
Index: texmenuconf.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texmenuconf.vim,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** texmenuconf.vim 14 Apr 2003 17:14:38 -0000 1.11
--- texmenuconf.vim 23 Apr 2003 17:28:31 -0000 1.12
***************
*** 54,57 ****
--- 54,64 ----
exec 'inoremenu 80.100 '.s:mainmenuname.'C&omplete\ Ref/Cite'.
\' <Esc>:call Tex_viewer("default","text")<CR>'
+ " project
+ exec 'anoremenu 80.105 '.s:mainmenuname.'Project.&Project<tab>:TProject'.
+ \' :TProject<CR>'
+ exec 'anoremenu 80.106 '.s:mainmenuname.'Project.Project&Edit<tab>:TProjectEdit'.
+ \' :TProjectEdit<CR>'
+ exec 'anoremenu 80.107 '.s:mainmenuname.'Project.Project&Write<tab>:TProjectWrite'.
+ \' :TProjectWrite<CR>'
exec 'anoremenu 80.110 '.s:mainmenuname.'-sepsuite1- :'
" refreshing folds
|