mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-02 09:27:14 +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.
17 lines
632 B
Plaintext
17 lines
632 B
Plaintext
## Here is an example for POV-Ray.
|
|
|
|
syntax pov "\.(pov|POV|povray|POVRAY)$"
|
|
comment "//"
|
|
|
|
color brightcyan "^[[:space:]]*#[[:space:]]*(declare)"
|
|
color brightyellow "\<(sphere|cylinder|translate|matrix|rotate|scale)\>"
|
|
color brightyellow "\<(orthographic|location|up|right|direction|clipped_by)\>"
|
|
color brightyellow "\<(fog_type|fog_offset|fog_alt|rgb|distance|transform)\>"
|
|
color brightred "\<(background|camera|fog|light_source|object|texture)\>"
|
|
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
|
color brightmagenta "\<(union|group|subgroup)\>"
|
|
|
|
# Comments.
|
|
color brightblue "//.*"
|
|
color brightblue start="/\*" end="\*/"
|