diff --git a/syntax/texinfo.nanorc b/syntax/texinfo.nanorc
index 9d10ecad2b959a09299209f695f51a1cfd98555e..3c9f8df79aee84c1acb55aa5d989aab2fc73019b 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:]]+.*::.*$"