Re: Minor source patches
Bram Moolenaar <[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
Adriaan de Groot wrote:
> On Thursday 28 August 2003 23:04, Bram Moolenaar wrote:
> > Adriaan de Groot wrote:
> > > because the AAP parser looks for the : on the same line as the :lib
> > > command. However, using \ line continuations solves the problem, and i've
> > > already added a note on line continuations to the tutorial.
> >
> > Yeah, that's the issue. It should be possible to do without the
> > backslashes, since all lines after ":lib" with a larger indent can be
> > included in the command. Ehm, actually, it already works! This was
> > fixed in version 1.007, August first.
>
> There still needs to be a note about it, since :route _does_ depend on
> a linebreak to separate the list of types from the commands. However,
> this does make part of my just-sent docs patches slightly inaccurate.
You should be able to write a route like this:
:route type1
type2
type3
dothis $source.this
dothat
Thus the first line can continue with lines that have more indent than
the lines that specify the actions.
I'll adjust the remark you made about this in user-basics.
--
hundred-and-one symptoms of being an internet addict:
259. When you enter your name in the AltaVista search engine, the top ten
matches do indeed refer to you.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf