Mark Manning wrote:
I'm working in FreeBasic and some C and some Perl. This is one of the
fixes in the basic.vim thing I'm doing and I saw the same thing in the
c.vim file and thought they would give the same incorrect
highlighting. I ran into this (for C) while working at NASA and
thought I'd fix it, but as you say - it already works in version
7.0.17. :-/
However, it does not work in the basic.vim or the perl.vim. If you try:
test.pl
print "This's a test";
exit( 0 );
It does work fine for me. In Perl and in Basic. My perl.vim is dated
2005 October 18 and basic.vim is dated Tue Sep 14 14:24:23 BST 1999.
The single quote makes the perl.vim rules think it is still in the
single quoted area. The same if you do it the other way as well.
Sorry for not checking the c.vim stuff before. It didn't work in the
other two and I was going "I'll fix it in all three!" When I should
have been going "Let me check this out first!" :-/
Oh well, what can I say but DOH! :-P
Mark