2016-03-21 16:16:02 +00:00
|
|
|
## Here is an example for POV-Ray.
|
|
|
|
|
##
|
2016-08-25 00:15:36 +00:00
|
|
|
syntax "pov" "\.(pov|POV|povray|POVRAY)$"
|
2017-03-01 14:30:35 +00:00
|
|
|
color preproc "^[[:space:]]*#[[:space:]]*(declare)"
|
|
|
|
|
color statement "\b(sphere|cylinder|translate|matrix|rotate|scale)\b"
|
|
|
|
|
color statement "\b(orthographic|location|up|right|direction|clipped_by)\b"
|
|
|
|
|
color statement "\b(fog_type|fog_offset|fog_alt|rgb|distance|transform)\b"
|
|
|
|
|
color identifier "^\b(texture)\b"
|
|
|
|
|
color identifier "\b(light_source|background)\b"
|
|
|
|
|
color identifier "\b(fog|object|camera)\b"
|
|
|
|
|
color symbol.operator "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
|
|
|
|
color special "\b(union|group|subgroup)\b"
|
2016-03-21 16:16:02 +00:00
|
|
|
## Comment highlighting
|
2017-03-01 14:30:35 +00:00
|
|
|
color comment "//.*"
|
|
|
|
|
color comment start="/\*" end="\*/"
|