File obs-channel-and-patchinfo-syntax.patch of Package nano
Index: nano-8.1/syntax/xml.nanorc
===================================================================
--- nano-8.1.orig/syntax/xml.nanorc
+++ nano-8.1/syntax/xml.nanorc
@@ -2,7 +2,7 @@
## Original author: Josef Schugt
-syntax xml "\.([jrsx]html?|jnlp|mml|pom|rng|sgml?|svg|w[as]dl|wsdd|xjb|xml|xs(d|lt?)|xul)$"
+syntax xml "(\.([jrsx]html?|jnlp|mml|pom|rng|sgml?|svg|w[as]dl|wsdd|xjb|xml|xs(d|lt?)|xul)$|_patchinfo|_channel)"
header "<\?xml.*version=.*\?>"
magic "(XML|SGML) (sub)?document"
comment "<!--|-->"