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