From 54bf19cdf839e39073f768166d3727fa0759a3cb Mon Sep 17 00:00:00 2001 From: Hussam al-Homsi Date: Fri, 6 Aug 2021 18:42:28 -0400 Subject: [PATCH 1/2] syntax: perl: remove arbitrary highlighting of here documents The main issue is assuming that STOP is the terminating string while it could be anything. See https://perldoc.perl.org/perlop#%3C%3CEOF for documentation on Perl here documents. Signed-off-by: Hussam al-Homsi --- syntax/perl.nanorc | 2 -- 1 file changed, 2 deletions(-) diff --git a/syntax/perl.nanorc b/syntax/perl.nanorc index 5f742fd3..f2747501 100644 --- a/syntax/perl.nanorc +++ b/syntax/perl.nanorc @@ -20,5 +20,3 @@ color white start="(^use| = new)" end=";" # Comments. color green "(^|[[:blank:]])#.*" - -color yellow start="<< 'STOP'" end="STOP" -- 2.30.2