2010-07-29 00:15:43 +02:00
|
|
|
## Here is an example for POV-Ray.
|
|
|
|
##
|
2016-03-02 20:49:58 +01:00
|
|
|
syntax "POV" "\.(pov|POV|povray|POVRAY)$"
|
2019-12-18 17:13:13 +01:00
|
|
|
comment "//"
|
|
|
|
|
2010-07-29 00:15:43 +02: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)\>"
|
|
|
|
color brightred "^\<(texture)\>"
|
|
|
|
color brightred "\<(light_source|background)\>"
|
|
|
|
color brightred "\<(fog|object|camera)\>"
|
|
|
|
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
|
|
|
color brightmagenta "\<(union|group|subgroup)\>"
|
|
|
|
## Comment highlighting
|
2019-12-02 14:28:54 +01:00
|
|
|
color brightblue "^\s*//.*"
|
2010-07-29 00:15:43 +02:00
|
|
|
color brightblue start="/\*" end="\*/"
|