Hi All,

I am 95% sure I have ctags configured correctly (Cygwin on Win XP)
because I can do this and see all the expected targets and properties:

Thu Jul 23 - 02:34 PM > ctags  -f - --format=2 --excmd=pattern --
fields=nks build.xml
base.dir        build.xml       /^      <property
name="base.dir"        location="." \/>$/;"   r       line:13
...
buildDeployable-other   build.xml       /^    <target
name="buildDeployable-other"$/;"  t       line:329
...

But when I open the xml file (or java file.. or any supported type)
and run :TlistToggle, I see the file name but no tags.

I have been going through the taglist FAQ and everything looks OK as
far as I can see.
"vim --version" shows 7.2,
"ctags --version" shows 5.8
":echo system(Tlist_Ctags_Cmd . ' --version')" shows Exuberant Ctags
5.8 ..
":filetype" shows filetype detection:ON  plugin:OFF  indent:OFF
":echo exists('*system')" shows 1
"ctags --list-languages" includes Ant and Java

I have my .ctags file in the right place (and there was no difference
if I made it ctags.cnf or copied .ctags and ctags.cnf to the same dir
as build.xml and launched vim build.xml from that dir..

Thu Jul 23 - 03:22 PM > cat $HOME/.ctags
--langmap=ant:.xml
--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

--langdef=flexwiki
--langmap=flexwiki:.wiki
--regex-flexwiki=/^!!*(.*)/\1/t,Title/i
--regex-flexwiki=/TODO[ \t]*(.*)/\1/o,To Do/i

--langdef=idx
--langmap=idx:.idx
--regex-idx=/^([a-zA-Z0-9][a-zA-Z0-9 ]+)/\1/h,Heading/i



Any hints on what I may have missed?

Thanks for any advice!

Rob
:)
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to