> i am writing a small vim function which uses taglist() function.
> the function doesn't seem to be working in the script, but it will
> work if i type it manually in the command line. i have structure
> defined with 'symname', for a tag, in the following function
> the taglist always returns an empty list. on the other hand for
> the same symbol name if run it as command i will get the correct
> taglist entry
>
> :echo taglist('symname') works, for the same symname the following
> function fails. am i missing something.
>
> fun! Tags(tag)
> echo taglist(a:tag)
> endfun
>
> thanks
any idea ?
--
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
No comments:
Post a Comment