mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 12:51:23 +03:00
c70e6919c2
The names of the authors were retrieved from: git log -p --follow syntax/<name>.nanorc and from: git log -p --follow --all -- doc/nanorc.sample For some files the original author is unclear, or the file is/was too small to mention an author for.
23 lines
518 B
Plaintext
23 lines
518 B
Plaintext
## Syntax highlighting for CSS files.
|
|
|
|
## Original author: Simon Rupf
|
|
|
|
syntax css "\.css$"
|
|
comment "/*|*/"
|
|
|
|
# First make everything red:
|
|
color brightred "."
|
|
# Then everything between braces yellow:
|
|
color brightyellow start="\{" end="\}"
|
|
# Then everything after a colon white:
|
|
color brightwhite start=":" end="([;^{]|$)"
|
|
|
|
# Pseudo-classes:
|
|
color brightcyan ":(active|checked|focus|hover|link|visited|after|before)\>"
|
|
|
|
# Comments:
|
|
color brightblue start="/\*" end="\*/"
|
|
|
|
# Syntactic characters:
|
|
color green ";|:|\{|\}"
|