Wednesday, February 2, 2011

Re: Vim, Perl and stuff.

On 02/02/11 02:01, Alan Young wrote:
[...]
> if has( 'perl' )
> perl<< EOP
[...]

This use of if has() together with a here-document doesn't work because
a Vim without Perl can't properly parse the here-document when trying to
find the *matching* endif.

See
:help script-here
about how to make it work.


Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
16. You step out of your room and realize that your parents have moved
and you
don't have a clue when it happened.

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

No comments: