From 5108664ce31a3d2d8b723884bff41911cb3677ce Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 11 Sep 2009 23:06:21 +0300 Subject: [PATCH] syntax/sh.syntax (part2): trivial: highlight 'unset', 'read', 'export' as keywords Synced mentioned in 9dda06f48937014947433bc5ea97a6dc73299924 keywords to other contexts. Signed-off-by: Sergei Trofimovich --- syntax/ebuild.syntax | 3 +++ syntax/sh.syntax | 3 +++ 2 files changed, 6 insertions(+) diff --git a/syntax/ebuild.syntax b/syntax/ebuild.syntax index 6526c23ec..3c3e31209 100644 --- a/syntax/ebuild.syntax +++ b/syntax/ebuild.syntax @@ -349,11 +349,13 @@ wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._ keyword whole else yellow keyword whole esac yellow keyword whole exit yellow + keyword whole export yellow keyword whole fi yellow keyword whole for yellow keyword whole getopts yellow keyword whole if yellow keyword whole in yellow + keyword whole read yellow keyword whole return yellow keyword whole select yellow keyword whole shift yellow @@ -361,6 +363,7 @@ wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._ keyword whole then yellow keyword whole trap yellow keyword whole until yellow + keyword whole unset yellow keyword whole wait yellow keyword whole while yellow diff --git a/syntax/sh.syntax b/syntax/sh.syntax index 5e682ec6b..6228b57e9 100644 --- a/syntax/sh.syntax +++ b/syntax/sh.syntax @@ -57,11 +57,13 @@ wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._ keyword whole else yellow keyword whole esac yellow keyword whole exit yellow + keyword whole export yellow keyword whole fi yellow keyword whole for yellow keyword whole getopts yellow keyword whole if yellow keyword whole in yellow + keyword whole read yellow keyword whole return yellow keyword whole select yellow keyword whole shift yellow @@ -69,6 +71,7 @@ wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._ keyword whole then yellow keyword whole trap yellow keyword whole until yellow + keyword whole unset yellow keyword whole wait yellow keyword whole while yellow -- 2.11.4.GIT