diff --git a/syntax/nanohelp.nanorc b/syntax/nanohelp.nanorc index 79c4b944..fdc01289 100644 --- a/syntax/nanohelp.nanorc +++ b/syntax/nanohelp.nanorc @@ -4,8 +4,14 @@ syntax nanohelp # Key combos: -color cyan "\^[]/4-8@A-Z\^_`◀▶▲▼-]" "[◀▶▲▼]" "\<(M|S[Hh]-[Mm])-." "\" +# Colorize M-) and M-" only when between parentheses... +color cyan "\(M-(\)|")\)" +color normal " \(|\) " +# ...or when at start of line. +color cyan "^M-(\)|")" + # Quoted indicators: color brightred "'(\^|M-)'"