>
> 1. The code in my Python region highlights perfectly.
> 2. The code in my Perl region highlights properly, but text in the
> main document after the Perl region has some Perl highlighting applied
> (mostly pink or magena, I think, I forget which syntax element).
> 3. The code in my R region doesn't get highlighted at all, although
> it gets highlighted fine when it's in its own separate 'rcode.r'
> document.
>
> Are these bugs, limitations, or am I doing something wrong? Do the
> syntax files themselves have to be written a certain way to be
> compatible with 'syntax include'?
>
In playing a bit more, it seems my problem with R may be that only one
'syntax include'
is allowed at a time. When the R 'syntax include' is the only one in
my main syntax file the nested R region gets highlighted properly.
When the R 'syntax include' is the second 'syntax include' after the
Python one, then only the Python nested region gets highlighted. So
it seems only the first 'syntax include' is processed or recognized.
Does that sound right? Only one nested language can be highlighted at
a time?
Still have the problem with the Perl highlighting continuing in non-
Perl text down beyond the Perl region.
-- Herb
--
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:
Post a Comment