[Vim-latex-devel] A question about placing files
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2003-07-21 01:28:58
|
Hello I wanted to get a few opinions on whether the current directory tree of latex-suite is optimal for the long run. As of now, latex-suite has files in the following hierarchy: ~/.vim - plugin/ - imaps.vim - syntaxFolds.vim - etc. - ftplugin/ - tex_latexSuite.vim - tex/ - texviewer.vim - brackets.vim - latex-suite/ - main.vim - compiler.vim - etc. A few months ago, when we began extending latex-suite with Carl Mueller's addons, (brackets.vim etc) we decided that a good place for them to go was in ~/.vim/ftplugin/tex/. But now I am having second thoughts... For one, making new addons reside in the tex/ directory means that if for instance the user wants to uninstall latex-suite, then he will have to remove each individual file from there. If all files of latex-suite resided in latex-suite/ except for a few necessary ones in other places, uninstalling is much easier. The files which we already distribute in the tex/ directory will most probably need to stay there for the sake of compatibility, but should we be creating a new directory addons/ in latex-suite and putting new stuff there and then let main.vim do something like :runtime! ftplugin/latex-suite/addons/*.vim There is(are) some disadvantages: 1. Vim sources files in the tex/ directory for every Filetype tex event. We will have to write code to do this for files in the addons/ directory. Let me know what your views are. Thanks, Srinath |