84
|
1 ## Here is an example for POV-Ray.
|
|
2 ##
|
|
3 syntax "POV" "\.(pov|POV|povray|POVRAY)$"
|
|
4 color brightcyan "^[[:space:]]*#[[:space:]]*(declare)"
|
|
5 color brightyellow "\<(sphere|cylinder|translate|matrix|rotate|scale)\>"
|
|
6 color brightyellow "\<(orthographic|location|up|right|direction|clipped_by)\>"
|
|
7 color brightyellow "\<(fog_type|fog_offset|fog_alt|rgb|distance|transform)\>"
|
|
8 color brightred "^\<(texture)\>"
|
|
9 color brightred "\<(light_source|background)\>"
|
|
10 color brightred "\<(fog|object|camera)\>"
|
|
11 color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
|
12 color brightmagenta "\<(union|group|subgroup)\>"
|
|
13 ## Comment highlighting
|
|
14 color brightblue "//.*"
|
|
15 color brightblue start="/\*" end="\*/"
|