Mark Manning wrote:
That is very strange. In 7.0.17 the "exit" command is still highlighted as a string. If I put in an additional single quote then it re-highlights as a function.

test.pl
   print "This's a test'";
   exit( 0 );

Look correct but the

test.pl
   print "This's a test";
   exit( 0 );

Does not.  Also the:

test.pl

   a =<<END_TEXT;
This's a test
END_TEXT
   exit( 0 );

Also makes the "exit" command show up as a string versus function call. Which version do you have?

Mark



I have syntax/perl.vim by Nick Hibma, dated 2006 Aug 9, and it highlights your example correctly (with exit in "perlStatementFlow" highlight, which links to Statement, and is by default in bold brown in the GUI, while strings are in pink).


Best regards,
Tony.
  • Well.... Mark Manning
    • Re: Well.... A.J.Mechelynck

Reply via email to