diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2020-12-30 12:39:49 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-03-28 17:02:15 +0100 |
commit | 71109d5ed6aa057129fe11e3fd4e8420aeac377b (patch) | |
tree | d7bfeef4de25b8268ba41f69dc2075e582ac52f2 /abbrevURL | |
parent | 2ede9a380b2f5b88aee1cb96a593180396a89c71 (diff) | |
download | vim-suse-changes-71109d5ed6aa057129fe11e3fd4e8420aeac377b.tar.gz |
feat(osurl,abbrevURL): add PEP URLs
Diffstat (limited to 'abbrevURL')
-rwxr-xr-x | abbrevURL | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |