dotfiles-pub/common/nano/syntax/css.nanorc

14 lines
389 B
Plaintext
Raw Normal View History

2022-12-11 17:17:48 +00:00
## Here is an example for css files.
##
syntax "CSS" "\.(css|scss|less)$"
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 ";|:|\{|\}"
## Trailing spaces
color ,green "[[:space:]]+$"