summaryrefslogtreecommitdiff
path: root/doc/syntax/pov.nanorc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/syntax/pov.nanorc')
-rw-r--r--doc/syntax/pov.nanorc15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/syntax/pov.nanorc b/doc/syntax/pov.nanorc
new file mode 100644
index 0000000..298b201
--- /dev/null
+++ b/doc/syntax/pov.nanorc
@@ -0,0 +1,15 @@
+## 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="\*/"