Re: ftplugin for diff files
- Rafael Garcia-Suarez wrote:
> I've developed a ftplugin for diff files (context and unified). It definesThat sounds like a bug. I'll look into it.
> a mapping <LocalLeader>j that jumps to the corresponding original file, at
> the corresponding line. Feedback welcomed.
> Besides this, I've a couple of questions :
> The doc says that the existence of a script-local function should be
> tested with
> if !exists("*s:MyFunction")
> but this does not appear to work (vim 6.0t). I modified this to
> if !exists("*<SID>MyFunction")
> and this works. This needs a fix, either in the code or in the docs.
> If this ftplugin is included in the distribution, I would be happy toI don't plan to include a filetype plugin like this in the distribution. It's
> provide a doc patch, but I don't know in which section of the docs to
> include it?
not something that applies to every file with the diff filetype. It's an
extra thing that the user might want to use, or not.
This belongs on VUR, which still doesn't work...
hundred-and-one symptoms of being an internet addict:
84. Books in your bookcase bear the names Bongo, WinSock and Inside OLE
/// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
((( Creator of Vim - http://www.vim.org -- ftp://ftp.vim.org/pub/vim )))
\\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///