summaryrefslogtreecommitdiff
path: root/doc/syntax/xml.nanorc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/syntax/xml.nanorc')
-rw-r--r--doc/syntax/xml.nanorc9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/syntax/xml.nanorc b/doc/syntax/xml.nanorc
new file mode 100644
index 0000000..1f68c05
--- /dev/null
+++ b/doc/syntax/xml.nanorc
@@ -0,0 +1,9 @@
+## Here is an example for xml files.
+##
+syntax "xml" "\.([jrs]html?|sgml?|xml|xslt?)$"
+color green start="<" end=">"
+color cyan "<[^> ]+"
+color cyan ">"
+color yellow start="<!DOCTYPE" end="[/]?>"
+color yellow start="<!--" end="-->"
+color red "&[^;]*;"