Re: syntax highlighting of embedded scripts

2008-07-10 Fir de Conversatie Ben Fritz
On Jul 10, 3:07 am, Tony Mechelynck <[EMAIL PROTECTED]> wrote: > On 09/07/08 22:13, Ben Fritz wrote: > [...]> I made a simple patch against the version of vim.vim that I have to > > add this functionality. Unfortunately, I believe that my version > > (7.1-77) is outdated. > > [...] > > The lates

Re: syntax highlighting of embedded scripts

2008-07-10 Fir de Conversatie Tony Mechelynck
On 09/07/08 22:13, Ben Fritz wrote: [...] > I made a simple patch against the version of vim.vim that I have to > add this functionality. Unfortunately, I believe that my version > (7.1-77) is outdated. [...] The latest published syntax/vim.vim on the Vim site is version 7.2-78 dated July 01, 20

Re: syntax highlighting of embedded scripts

2008-07-09 Fir de Conversatie Ben Fritz
On Jul 9, 2:42 am, "Yakov Lerner" <[EMAIL PROTECTED]> wrote: > On Tue, Jul 8, 2008 at 8:14 PM, Ben Fritz <[EMAIL PROTECTED]> wrote: > > > Consider the following: > > > perl << EOF > > some code that contains Vim keywords > > EOF > > > If has("perl") is true, no problem! A syntax region is define

Re: syntax highlighting of embedded scripts

2008-07-09 Fir de Conversatie Yakov Lerner
On Tue, Jul 8, 2008 at 8:14 PM, Ben Fritz <[EMAIL PROTECTED]> wrote: > > Consider the following: > > perl << EOF > some code that contains Vim keywords > EOF > > If has("perl") is true, no problem! A syntax region is defined that > does not include any Vim groups, and the perl syntax is included >

syntax highlighting of embedded scripts

2008-07-08 Fir de Conversatie Ben Fritz
Consider the following: perl << EOF some code that contains Vim keywords EOF If has("perl") is true, no problem! A syntax region is defined that does not include any Vim groups, and the perl syntax is included within the region. If has("perl") is false, however, the code within perl << EOF to E