Hi All,
I am using Cygwin on Win XP, trying to use TagList with VIM.
Taglist isn't working for me in vim - when I issue :TlistToggle, all I
see in the new split is:
" Press <F1> to display help
- file name with the full path..
I have tried this on xml and html files and get the same thing.
I have installed exuberant ctags:
-bash3.2 > ctags --version
Exuberant Ctags 5.7, Copyright (C) 1996-2007 Darren Hiebert
Compiled: Sep 4 2007, 23:24:26
Addresses: <dhiebert@...>,
http://ctags.sourceforge.net
Optional compiled features: +win32, +regex, +internal-sort
I have the taglist.txt and taglist.vim in place:
-bash3.2 > ls ~/.vim/doc
EnhancedCommentify.txt taglist.txt tags
-bash3.2 > ls ~/.vim/plugin/
EnhancedCommentify.vim closetag.vim repmo.vim taglist.vim
I want to use this for Ant xml files, so I have my .ctags file in place.
-bash3.2 > cat ~/.ctags
--langdef=ant
--langmap=ant:.xml
--regex-ant=/^[ \t]*<[ \t]*project.*name="([a-zA-Z0-9
]+)".*>/\1/p,project/i
--regex-ant=/^[ \t]*<[ \t]*target.*name="([a-zA-Z0-9 ]+)".*>/\1/t,target/i
--regex-ant=/^[ \t]*<[ \t]*property.*name="([-.a-zA-Z0-9
]+)".*>/\1/r,property/i
--regex-ant=/^[ \t]*<[ \t]*project.*name="([^<"&]+)".*>/\1/p,project/i
--regex-ant=/^[ \t]*<[ \t]*target.*name="([^<"&]+)".*>/\1/t,target/i
--regex-ant=/^[ \t]*<[ \t]*property.*name="([^<"&]+)".*>/\1/r,property/i
Any help would be most appreciated!
Rob
:)