On Jul 7, 8:47 pm, "Benjamin R. Haskell" <v...@benizi.com> wrote:
> On Fri, 8 Jul 2011, ZyX wrote:
> > Reply to message «Re: Is there any __FILE__, __FUNCTION__, __LINE__ 
> > equivalent
> > for vim script?»,
> > sent 07:17:03 08 July 2011, Friday
> > by Ben Fritz:
>
> >> <sfile> and <slnum> will give you __FILE__ and __LINE__. I don't
> >> think there's a __FUNCTION__ but I could be wrong.
> > <sfile> can be used in place of both a __FILE__ and a __FUNCTION__,
> > depending from where it is called. If called outside of a function, it
> > will give you a function stack.
>
> > By the way, where did you get <slnum>? It works, but :helpg slnum shows 
> > nothing.
>
> I also show nothing under Gentoo vim-7.3.219, but hg logs show that the
> documentation was added to runtime/doc/eval.txt between patches 81 and
> 82.  Commit: 916c90b37ea9.
>
> It looks like Gentoo's still taking the patch-based approach, which
> seems a bit odd.  (main source = vim-7.3.tar.bz2 and
> vim-patches-7.3.219.tar.bz2 contains patches 7.3.001 through .219 as on
> the FTP site).
>
> --
> Best,
> Ben

Just this morning I downloaded the most recent folder of
documentation, renamed the old doc "doc-old" and copied in the new
one.

:help slnum

ftp://ftp.vim.org/vol/4/vim/runtime/doc

-Bill

-- 
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

Reply via email to