SHA256
1
0
forked from pool/nano
nano/obs-channel-and-patchinfo-syntax.patch

14 lines
519 B
Diff

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 "<!--|-->"