On 28-Apr-2010 Robert Webb <[email protected]> wrote:
> Lech Lorens wrote:
>
> > Here's an implementation of the 'tagfunc' option together with some
> > documentation. Additionally, attached is a script showing how a (very
> > unuseful) function used in 'tagfunc' can be implemented.
Here is an updated version of the 'tagfunc' patch:
- the outdated documentation you noticed has been brought up to date,
- a problem with tags not working with 'tagfunc' set has been fixed,
- taglist() now uses 'tagfunc' unless is called from 'tagfunc'.
> - Zip file also includes two example files: TestTags.cpp and TestTags.h.
> These files also form part of the test. Edit either file in vim and do
> ":so SmartTagTest.vim". It may take a few minutes. It will report any
> errors found, and how many were found (currently zero, but look for TODO
> for
> a few cases not handled). The files are marked up to enable the testing.
> See SmartTagTest.vim for details.
It does find errors for me:
#v+
Error: id "aar", line 335 col 12
Error: id "aal", line 337 col 24
Error: id "ua", line 342 col 3
Error: id "aa", line 342 col 7
Error: id "ab", line 342 col 11
Error: id "bb", line 342 col 15
6 Errors
#v-
I'll try to look into this later.
> - Fixed some bugs, and handled a bunch of new cases, like nested class
> declarations etc.
> - Fixed the beeping in a different way: "silent! normal [{"
The funny thing is that my first thought was to use silent to get rid of
the beep. But I didn't use it with the exclamation point.
I'll have some more comments on your email. I'll try to find time to
answer them tomorrow (huh, it's TODAY already. After getting some sleep,
anyway :-) ).
--
Cheers,
Lech
--
You received this message from the "vim_dev" 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