nano/obs-channel-and-patchinfo-syntax.patch
Martin Pluskal e20f530df6 - GNU nano 8.2:
* At a Yes-No prompt, beside Y and the localized initial for "Yes", also ^Y is accepted. Similarly, ^N for "No", and ^A for "All".
  * A text-highlighting bug with Alt+Home/Alt+End is fixed.

OBS-URL: https://build.opensuse.org/package/show/editors/nano?expand=0&rev=177
2024-10-14 14:41:46 +00:00

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