Actualizacion maquina principal
[dotfiles/.git] / .nano / xml.nanorc
diff --git a/.nano/xml.nanorc b/.nano/xml.nanorc
new file mode 100644 (file)
index 0000000..bd7b273
--- /dev/null
@@ -0,0 +1,17 @@
+## Here is an example for xml files.
+##
+
+syntax "XML" ".*\.([jrs]?html?|xml|sgml?|rng)$"
+header "<\?xml.*version=.*\?>"
+magic "(XML|SGML) (sub)?document"
+comment "<!--|-->"
+color white "^.+$"
+color green  start="<" end=">"
+color cyan   "<[^> ]+"
+color cyan   ">"
+color yellow start="<!DOCTYPE" end="[/]?>"
+color yellow start="<!--" end="-->"
+color red    "&[^;]*;"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"