aboutsummaryrefslogtreecommitdiffstats
path: root/osurl
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2020-12-30 12:39:49 +0100
committerMatěj Cepl <mcepl@cepl.eu>2024-03-28 17:02:15 +0100
commit71109d5ed6aa057129fe11e3fd4e8420aeac377b (patch)
treed7bfeef4de25b8268ba41f69dc2075e582ac52f2 /osurl
parent2ede9a380b2f5b88aee1cb96a593180396a89c71 (diff)
downloadvim-suse-changes-71109d5ed6aa057129fe11e3fd4e8420aeac377b.tar.gz
feat(osurl,abbrevURL): add PEP URLs
Diffstat (limited to 'osurl')
-rwxr-xr-xosurl1
1 files changed, 1 insertions, 0 deletions
diff --git a/osurl b/osurl
index 5f98740..7448684 100755
--- a/osurl
+++ b/osurl
@@ -32,6 +32,7 @@ local patterns = {
["lp%SEP%NUM"] = "https://launchpad.net/bugs/%1",
["rh%SEP%NUM"] = "https://bugzilla.redhat.com/show_bug.cgi?id=%1",
["tdf%SEP%NUM"] = "https://bugs.documentfoundation.org/show_bug.cgi?id=%1",
+ ["pep%SEP%NUM"] = "https://www.python.org/dev/peps/pep-%1",
}
-- turn "foo#%BLAH" into a pattern that matches everything literally except