Marc Weber wrote:
> I couldn't resist:
>
> I used github because it works best and fastest for me:
>
> http://github.com/MarcWeber/SmartTag
>
> I also moved code and renamed SmartTag to SmartTag#SmartTag
What does the # do? Is that like a namespace or something?
> When enabling tagfunc by setting to SmartTag or SmartTag#SmartTag should
> tjump show only one match as well? This didn't work for me.
Hmm, I never use tjump. My script does not try to return just one tag.
Rather it tries to put the tags in a better order. Even if it thinks it knows
which one's best, it could always be wrong, so tags are reordered, but still
kept for use with :tn etc. Something different would be required if we want
:tjump to know when my script is pretty sure there's only one sensible tag.
Actually, if you always want it to throw away tags that it doesn't think are
right, try changing 'nk' to 'n' in the SmartTagFunc() function ('k' means to
"keep" all tags, but put the best ones first). But I don't think that should
be the default behaviour, as it is not as useful with :tn etc.
I noticed some problems myself now when using ^P and ^N in insert mode.
Sometimes if you break completion before it's found all results it seems to
cause problems. These commands don't need to disambiguate tags though, and
should really just use the default tags mechanism, not 'tagfunc'.
Lech, can you fix that?
> Robert: Do you have a www.vim.org account?
Nope.
> You can use the SVN mirror and use svn diff to create diffs
> which youc an send to me. You can also install git.
> I could create a SSH account which you can login into to push
> changes yourself.
I'll have to look into this another time. Is it not possible to submit changes
via a web interface? That is, without installing git?
I'm only making very minor changes occasionally when I encounter problems. For
now I'll just send you any new versions. I'll send you one after this.
Thanks,
Rob.
--
Robert Webb <[email protected]>,
Software developer
http://www.software3d.com
--
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