mirror of
https://github.com/Hopiu/micro.git
synced 2026-05-03 20:34:43 +00:00
16 lines
676 B
Text
16 lines
676 B
Text
|
|
## Here is an example for POV-Ray.
|
||
|
|
##
|
||
|
|
syntax "POV" "\.(pov|POV|povray|POVRAY)$"
|
||
|
|
color brightcyan "^[[:space:]]*#[[:space:]]*(declare)"
|
||
|
|
color brightyellow "\b(sphere|cylinder|translate|matrix|rotate|scale)\b"
|
||
|
|
color brightyellow "\b(orthographic|location|up|right|direction|clipped_by)\b"
|
||
|
|
color brightyellow "\b(fog_type|fog_offset|fog_alt|rgb|distance|transform)\b"
|
||
|
|
color brightred "^\b(texture)\b"
|
||
|
|
color brightred "\b(light_source|background)\b"
|
||
|
|
color brightred "\b(fog|object|camera)\b"
|
||
|
|
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
||
|
|
color brightmagenta "\b(union|group|subgroup)\b"
|
||
|
|
## Comment highlighting
|
||
|
|
color brightblue "//.*"
|
||
|
|
color brightblue "(?s)/\*.*?\*/"
|