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.nanorc6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/syntax/pov.nanorc b/doc/syntax/pov.nanorc
index 298b201..b7033b1 100644
--- a/doc/syntax/pov.nanorc
+++ b/doc/syntax/pov.nanorc
@@ -1,6 +1,7 @@
## 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)\>"
@@ -10,6 +11,7 @@ color brightred "\<(light_source|background)\>"
color brightred "\<(fog|object|camera)\>"
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
color brightmagenta "\<(union|group|subgroup)\>"
-## Comment highlighting
+
+# Comments.
color brightblue "//.*"
color brightblue start="/\*" end="\*/"