summaryrefslogtreecommitdiff
path: root/share/nano/xml.nanorc
diff options
context:
space:
mode:
Diffstat (limited to 'share/nano/xml.nanorc')
-rw-r--r--share/nano/xml.nanorc9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/nano/xml.nanorc b/share/nano/xml.nanorc
new file mode 100644
index 0000000..1f68c05
--- /dev/null
+++ b/share/nano/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 "&[^;]*;"