mirror of
https://github.com/scopatz/nanorc
synced 2024-11-14 05:04:16 +01:00
bba53c3940
Duplicate syntax definition names may cause problems. Since nano comes with predefined all-lowercase syntax definitions, we use uppercase letters everywhere to reduce the risk of future conflicts
16 lines
682 B
Plaintext
16 lines
682 B
Plaintext
## Here is an example for POV-Ray.
|
|
##
|
|
syntax "POV" "\.(pov|POV|povray|POVRAY)$"
|
|
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 "^\<(texture)\>"
|
|
color brightred "\<(light_source|background)\>"
|
|
color brightred "\<(fog|object|camera)\>"
|
|
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
|
color brightmagenta "\<(union|group|subgroup)\>"
|
|
## Comment highlighting
|
|
color brightblue "//.*"
|
|
color brightblue start="/\*" end="\*/"
|