diff --git a/syntax/default.nanorc b/syntax/default.nanorc index 61d5152438a81a270edb16333f74ff337e878b9c..ef93877fa118cb24718858c57c30892e968b1186 100644 --- a/syntax/default.nanorc +++ b/syntax/default.nanorc @@ -1,11 +1,17 @@ -## A default syntax, which is used -## for files that do not match any other syntax. +## An example of a default syntax. The default syntax is used for +## files that do not match any other syntax. syntax "default" comment "#" +# Comments. +color cyan "^#.*" + # Spaces in front of tabs. color ,red " + +" # Nano's name, including version. color brightred "(GNU )?nano [1-9]\.[0-9]\.[^[:space:][:punct:]]+" + +# Email addresses. +color yellow "<[[:alnum:].%_+-]+@[[:alnum:].-]+\.[[:alpha:]]{2,}>"