commit fb5478338f36c9913a9582ad860bb5c491a22cf1
parent 961294f533b249199bc259b4a6f7827f6ad1fd3d
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Fri, 14 Jul 2017 09:51:37 +0200
syntax: texinfo: cover also some special cases like @U, @OE and @TeX
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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:]]+.*::.*$"