From fb5478338f36c9913a9582ad860bb5c491a22cf1 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 14 Jul 2017 09:51:37 +0200 Subject: [PATCH] syntax: texinfo: cover also some special cases like @U, @OE and @TeX --- syntax/texinfo.nanorc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax/texinfo.nanorc b/syntax/texinfo.nanorc index 9d10ecad..3c9f8df7 100644 --- a/syntax/texinfo.nanorc +++ b/syntax/texinfo.nanorc @@ -7,9 +7,9 @@ comment "@c " # Command arguments, trailing and enclosed. color cyan "^@[a-z]+[[:space:]]+.*$" -color brightmagenta "@[a-z]+\{[^}]*\}" +color brightmagenta "@[a-zA-Z]+\{[^}]*\}" # Commands themselves. -color yellow "@[a-z]+\{?" "\}" +color yellow "@[a-zA-Z]+\{?" "\}" # Menu items. color brightred "^\*[[:space:]]+.*::.*$"