diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2019-10-11 17:00:04 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-03-28 16:56:14 +0100 |
commit | e52bee00866b98bd1940aa4c845ab30aae1fcdfe (patch) | |
tree | 6f70562f4b1de1eaa2fd17efdef8f379ff22fd10 /plugin/spec.vim | |
parent | 639c1108f9e1c4442001508c105a05233845390d (diff) | |
download | vim-suse-changes-e52bee00866b98bd1940aa4c845ab30aae1fcdfe.tar.gz |
feat(osurl): add abbreviations for sourceforge.net.
Fixes for osurl gh#openSUSE/open-build-service#8572
Diffstat (limited to 'plugin/spec.vim')
-rw-r--r-- | plugin/spec.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/spec.vim b/plugin/spec.vim index 87ae530..b80378d 100644 --- a/plugin/spec.vim +++ b/plugin/spec.vim @@ -1,6 +1,9 @@ function! ReplaceURLs() s!https://github.com/\(.*\)/\(issues\|pull\)/\(\d\+\)!gh#\1#\3!e s!https://gitlab.com/\(.*\)/\(issues\|pull\)/\(\d\+\)!gl#\1#\3!e + s!https://\(sourceforge\|sf\).net/support/tracker.php?aid=\(\d\+\)!sh#\2!e + s!https://\(sourceforge\|sf\).net/p/\(.*\)/bugs/\(\d\+\)/!shb#\2#\3!e + s!https://\(sourceforge\|sf\).net/p/\(.*\)/patches/\(\d\+\)/!shp#\2#\3!e s!https://bitbucket.org/\(.*\)/issues/\(\d\+\)!bt#\1#\2!e s!https://build.suse.de/request/show/\(\d*\)!bds#\1!e s!https://build.opensuse.org/request/show/\(\d*\)!bdo#\1!e |