mirror of
https://github.com/scopatz/nanorc
synced 2024-11-27 12:25:53 +01:00
bba53c3940
Duplicate syntax definition names may cause problems. Since nano comes with predefined all-lowercase syntax definitions, we use uppercase letters everywhere to reduce the risk of future conflicts
11 lines
335 B
Plaintext
11 lines
335 B
Plaintext
## Here is an example for css files.
|
|
##
|
|
|
|
syntax "CSS" "\.(css|scss)$"
|
|
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 ";|:|\{|\}"
|