2016-03-21 19:16:02 +03:00
|
|
|
## Here is an example for POV-Ray.
|
|
|
|
##
|
2016-08-25 03:15:36 +03:00
|
|
|
syntax "pov" "\.(pov|POV|povray|POVRAY)$"
|
2016-03-21 19:16:02 +03:00
|
|
|
color brightcyan "^[[:space:]]*#[[:space:]]*(declare)"
|
2016-03-25 23:41:36 +03:00
|
|
|
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)\>"
|
2016-03-21 19:16:02 +03:00
|
|
|
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
2016-03-25 23:41:36 +03:00
|
|
|
color brightmagenta "\<(union|group|subgroup)\>"
|
2016-03-21 19:16:02 +03:00
|
|
|
## Comment highlighting
|
|
|
|
color brightblue "//.*"
|
2016-03-25 23:41:36 +03:00
|
|
|
color brightblue start="/\*" end="\*/"
|