mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-01 08:57:05 +03:00
3e1fc6385b
The different color will make the name stand out, as it should, instead of looking the same as all the regex strings.
12 lines
344 B
Plaintext
12 lines
344 B
Plaintext
## Here is an example for CSS files.
|
|
|
|
syntax css "\.css$"
|
|
comment "/*|*/"
|
|
|
|
color brightred "."
|
|
color brightyellow start="\{" end="\}"
|
|
color brightwhite start=":" end="([;^\{]|$)"
|
|
color brightblue ":active|:focus|:hover|:link|:visited|:link|:after|:before|$"
|
|
color brightblue start="\/\*" end="\\*/"
|
|
color green ";|:|\{|\}"
|