From 0ab6c80efd302ded3a76d9693a83b62c94a1f447 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 16 Aug 2002 22:28:13 +0000 Subject: [PATCH] * syntax/sh.syntax: Fix highlighting of "<<-EOF". Reported by Andrew V. Samoilov --- ChangeLog | 5 +++++ syntax/sh.syntax | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 78945c384..2359c8ed4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-08-16 Pavel Roskin + + * syntax/sh.syntax: Fix highlighting of "<<-EOF". + Reported by Andrew V. Samoilov + 2002-08-16 Andrew V. Samoilov * syntax/sh.syntax: Highlight alias, bg, eval, exec, export, fg, diff --git a/syntax/sh.syntax b/syntax/sh.syntax index 44e42e8bf..47d3fe36d 100644 --- a/syntax/sh.syntax +++ b/syntax/sh.syntax @@ -164,8 +164,8 @@ wholechars left abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_ context # \n brown/22 spellcheck -context exclusive whole <<\[\s\]\[\\\]EOF EOF green/6 -context exclusive whole <<\[\s\]\[\\\]END END green/6 +context exclusive whole <<\[\s\]\[-\]\[\s\]\[\\\]EOF EOF green/6 +context exclusive whole <<\[\s\]\[-\]\[\s\]\[\\\]END END green/6 context ' ' green/6