On 2013-01-08, Asis Hallab wrote:
> Dear Vimmers and Taglist experts,
>
> recently I started working on R code. To make ctags work on R files, I
> used some customizations saved in a .ctags file in my home dir.
>
> The generation of tags works fine and Vim works well with the tags,
> only the Taglist plugin does not recognize the customization. The
> Taglist simply is empty when opened on an R file.
>
> This is the content of my ~/.ctags file:
> --langdef=Splus
> --langmap=Splus:.s.S.R.r.q
> --regex-Splus=/^[ \t]+"?([.A-Za-z][.A-Za-z0-9_]*)"?[\t]*<-[\t]*function/\1/
> --regex-Splus=/^"?([.A-Za-z][.A-Za-z0-9_]*)"?[ \t]*<-/\1/
>
> What do I have to do, to make Taglist recognize my customizations?
>
> Kind regards and thank you for any help you can provide.
> And of course: A prosperous and happy new year!
I had a look through the taglist.vim plugin, and it appears to
require code for each language it supports, so you can't just add a
definition to ~/.ctags and have it work. The comment block at the
top of the plugin directed me to the plugin's web page, which
explained that users can add support for other languages and which
directed me to this part of the manual:
http://vim-taglist.sourceforge.net/manual.html#taglist-extend
That should tell you what you need to do.
HTH,
Gary
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Tuesday, January 8, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment