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.nanorc6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/syntax/xml.nanorc b/doc/syntax/xml.nanorc
index 1f68c05..69982ea 100644
--- a/doc/syntax/xml.nanorc
+++ b/doc/syntax/xml.nanorc
@@ -1,6 +1,8 @@
-## Here is an example for xml files.
-##
+## Here is an example for XML files.
+
syntax "xml" "\.([jrs]html?|sgml?|xml|xslt?)$"
+magic "(XML|SGML) (sub)?document text"
+
color green start="<" end=">"
color cyan "<[^> ]+"
color cyan ">"