Hi,
I had issues with some section headings showing up twice in Taglist. I
use exuberant ctags 5.8, which have some limited native tex support
(see output from --list-kinds=tex below). Therefore, the tex language
is already defined, and when Vim-Latex tries to define it again on
line 899 in main.vim, it results in "ctags: Warning: Language "tex"
already defined".
Regexps for e.g sections are thus defined twice (both natively by
ctags and by Vim-Latex). As far as I can see, the regexps of Vim-Latex
appear to be more robust than the native implementation, so I simply
modified main.vim to use an unused character ("d") instead of "s" for the
all the section-related regexps and modified tlist_tex_settings to just
ignore the native implementation. My patch against trunk can be found here:
http://heggoe.net/various/taglist.patch
I kept "--langdef=tex" in the patch for users of ctags versions without native
tex-support. While this will trigger an error (in the background), it seems
like it doesn't do any harm. My patch is just a quick fix, but it seems to work
fine. Any comments or suggestions are welcome.
-- Dan Michael
ctags --list-kinds=tex
c chapters
s sections
u subsections
b subsubsections
p parts
P paragraphs
G subparagraphs
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Vim-latex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel