diff --git a/syntax/default.nanorc b/syntax/default.nanorc index b23d0291..c481e011 100644 --- a/syntax/default.nanorc +++ b/syntax/default.nanorc @@ -17,4 +17,4 @@ color brightred "(GNU )?[Nn]ano [1-4]\.[0-9][-.[:alnum:]]*\>" color magenta "<[[:alnum:].%_+-]+@[[:alnum:].-]+\.[[:alpha:]]{2,}>" # Bracketed captions in certain config files. -color brightgreen "^\[.*\]$" +color brightgreen "^\[[^][]+\]$"