2006-11-02 06:21:43 +00:00
|
|
|
## Here is an example for POV-Ray.
|
2014-05-16 20:21:34 +00:00
|
|
|
|
2006-11-02 06:21:43 +00:00
|
|
|
syntax "pov" "\.(pov|POV|povray|POVRAY)$"
|
2016-05-25 20:13:50 +00:00
|
|
|
comment "//"
|
2014-05-16 20:21:34 +00:00
|
|
|
|
2006-11-02 06:21:43 +00:00
|
|
|
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)\>"
|
2018-01-01 14:33:18 +00:00
|
|
|
color brightred "\<(background|camera|fog|light_source|object|texture)\>"
|
2006-11-02 06:21:43 +00:00
|
|
|
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
|
|
|
color brightmagenta "\<(union|group|subgroup)\>"
|
2014-05-16 20:21:34 +00:00
|
|
|
|
|
|
|
# Comments.
|
2006-11-02 06:21:43 +00:00
|
|
|
color brightblue "//.*"
|
|
|
|
color brightblue start="/\*" end="\*/"
|