mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-26 06:39:43 +03:00
227467adb9
Also, standardize some comments, condense a few regexes, add some word-edge anchors, and remove some superfluous backslashes.
17 lines
637 B
Plaintext
17 lines
637 B
Plaintext
## Syntax highlighting for POV-Ray files.
|
|
|
|
syntax pov "\.(pov|POV|povray|POVRAY)$"
|
|
comment "//"
|
|
|
|
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 "\<(background|camera|fog|light_source|object|texture)\>"
|
|
color green "\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|"
|
|
color brightmagenta "\<(union|group|subgroup)\>"
|
|
|
|
# Comments.
|
|
color brightblue "//.*"
|
|
color brightblue start="/\*" end="\*/"
|