Ingo Karkat wrote:

> The current version of ftplugin/vim.vim does not allow to jump to tags in 
> autoload functions (e.g. netrw#Explore, causing "E426: tag not found:
> netrw"), because the '#' character is no keyword character. Similarly,
> the 'w' motion and '*' command to not recognize the entire autoload
> function name as one entity.  Therefore, I think it makes sense to
> :setl isk+=# for the 'vim' filetype.  Attached patch (against the
> latest runtime sources) accomplishes that.
> 
> (Note that only recent versions of ctags (mine is Ctags 5.7 from Sep 4
> 2007 for Windows) can recognize and add tags for Vim autoload
> functions.)

Yes, this makes sense. I usually try to avoid changing 'isk' because of
the side effects, but adding '#' is unlikely to cause problems.

-- 
Me?  A skeptic?  I trust you have proof.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui