On Jun 22, 2011, at 5:20 AM, Ovid <[email protected]> wrote:

> Hi all,
> 
> I have a bunch of Perl code which has embedded SQL in HEREDOCs. It can look 
> like this:
> 
>     my $result = $object->do_something(<<'SQL', $some_var);
>     SELECT this
>       FROM that
>      WHERE bar = ?
>     SQL
> 
> I'm trying to get the SQL in HEREDOCs highlighted. I've put this in my 
> ftplugin/perl.vim (snarfed from this link 
> http://vim.wikia.com/wiki/VimTip857):
> 
> 

If you put those vim commands in ftplugin/after/perl.vim

It should work for you. 

--
David Fishburn

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