diff --git a/syntax/awk.nanorc b/syntax/awk.nanorc index 942d2f56..5e6c3197 100644 --- a/syntax/awk.nanorc +++ b/syntax/awk.nanorc @@ -31,7 +31,7 @@ color magenta "\<(bindtextdomain|dcgettext|dcngettext)\>" # Strings. color brightyellow "<[^= ]*>" ""(\\.|[^"])*"" # Comments. -color brightblue "(^|[[:blank:]])#.*$" +color brightblue "(^|[[:blank:]])#.*" # Trailing whitespace. color ,green "[[:space:]]+$" diff --git a/syntax/po.nanorc b/syntax/po.nanorc index 66cee17a..5c1746d3 100644 --- a/syntax/po.nanorc +++ b/syntax/po.nanorc @@ -7,7 +7,7 @@ syntax po "\.pot?$" comment "#" # Comments. -color green "^#.*$" +color green "^#.*" color yellow "Copyright|\(C\)" # Header fields. color brightred "^"X-Bugs:.*"$" diff --git a/syntax/texinfo.nanorc b/syntax/texinfo.nanorc index 5fdc1cad..266b7aa6 100644 --- a/syntax/texinfo.nanorc +++ b/syntax/texinfo.nanorc @@ -9,10 +9,10 @@ magic "Texinfo source" comment "@c " # Command arguments, trailing and enclosed. -color cyan "^@[a-z]+[[:space:]]+.*$" +color cyan "^@[a-z]+[[:space:]]+.*" color brightmagenta "@[a-zA-Z]+\{[^}]*\}" # Commands themselves. -color yellow "@[a-zA-Z]+\{?" "\}" +color yellow "@[a-zA-Z]+\{?|\}" # Menu items. color brightred "^\*[[:space:]]+.*::.*"