aboutsummaryrefslogtreecommitdiffstats
path: root/abbrevURL
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 /abbrevURL
parent2ede9a380b2f5b88aee1cb96a593180396a89c71 (diff)
downloadvim-suse-changes-71109d5ed6aa057129fe11e3fd4e8420aeac377b.tar.gz
feat(osurl,abbrevURL): add PEP URLs
Diffstat (limited to 'abbrevURL')
-rwxr-xr-xabbrevURL1
1 files changed, 1 insertions, 0 deletions
diff --git a/abbrevURL b/abbrevURL
index ed36180..98e0117 100755
--- a/abbrevURL
+++ b/abbrevURL
@@ -34,5 +34,6 @@ str = str:gsub("https?://bugs.documentfoundation.org/(%d+)", "tdf#%1")
str = str:gsub("https?://jira.suse.com/browse/(%a+)", "jsc#%1")
str = str:gsub("https?://bugs.python.org/issue(%d+)", "bpo#%1")
str = str:gsub("https?://bugs.launchpad.net/.+/%+bug/(%d+)", "lp#%1")
+str = str:gsub("https?://www.python.org/dev/peps/pep%-(%d+)/?", "pep#%1")
print(str)