[Vim-latex-devel] New features: compiler, taglist, system-local
Brought to you by:
srinathava,
tmaas
From: Mikolaj M. <mi...@wp...> - 2003-09-29 00:50:54
|
Hello, New features implemented. They can be separated in three parts: 1. compiler + texrc Possibility to disable going to bug/warning immediately after compilation. 2. taglist.vim support As I mentioned earlier taglist.vim is the most popular interface to ctags (also popular program). Support is enabled by default. You have to have only taglist.vim (2.8 is enough) and ctags (at least 5.0). You don't need to configure anything else. Use :Tlist command (taglist.vim) to open window with tags in current file. 3. system-local Commands, both creating menus and :, are looking for files in all &rtp directories. Behaviour difference little depending on context: packages - sources (using runtime!) all related files in rtp directories _in_ latexSuite FHS (ftplugin/latex-suite/packages). Files provided with latexSuite have plugin headers (|write-plugin|), thus they behave as regular ftplugin/syntax/plugin etc. files. templates - you see only all files from rtp:ftplugin/latex-suite/templates dirs but if file in local dir has the same name as file in system dir it overshadows system version. macros - When you try to edit file from system directory it is copied to local dir with '-local' suffix. Don't remove file if it is not in local directory. Check if exist macro with this name, and forces to pick another name. Everything is now only in CVS. Tested on Linux. Aha. Name of local directory is made: if has("unix") || has("macunix") let s:macrodirpath = $HOME."/.vim/ftplugin/latex-suite/macros/" elseif has("win32") if exists("$HOME") let s:macrodirpath = $HOME."/vimfiles/ftplugin/latex-suite/macros/" else let s:macrodirpath = $VIM."/vimfiles/ftplugin/latex-suite/macros/" endif endif Probably if on MS-Windows systems doesn't exist $HOME variable it is single-user machine and there is no need for difference. m. |