nanorc/pov.nanorc

16 lines
622 B
Plaintext
Raw Normal View History

2010-07-29 00:15:43 +02:00
## Here is an example for POV-Ray.
##
syntax "POV" "\.(pov|POV|povray|POVRAY)$"
2018-08-09 10:09:19 +02:00
color cyan "^[[:space:]]*#[[:space:]]*(declare)"
color yellow "\<(sphere|cylinder|translate|matrix|rotate|scale)\>"
color yellow "\<(orthographic|location|up|right|direction|clipped_by)\>"
color yellow "\<(fog_type|fog_offset|fog_alt|rgb|distance|transform)\>"
color red "^\<(texture)\>"
color red "\<(light_source|background)\>"
color red "\<(fog|object|camera)\>"
2010-07-29 00:15:43 +02:00
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
2018-08-09 10:09:19 +02:00
color magenta "\<(union|group|subgroup)\>"
2010-07-29 00:15:43 +02:00
## Comment highlighting
2018-08-09 10:09:19 +02:00
color blue "//.*"
color blue start="/\*" end="\*/"