aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/spec.vim
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2020-02-05 15:29:51 +0100
committerMatěj Cepl <mcepl@cepl.eu>2024-03-28 16:58:38 +0100
commit968133c46eb1aa69980048475b6091fa9ffffe85 (patch)
tree0e899b2d27700da553ea52aa8ecaa6078fc722ef /plugin/spec.vim
parent80e15e79233c6e77141ea18b49b4bbee4bfff06f (diff)
downloadvim-suse-changes-968133c46eb1aa69980048475b6091fa9ffffe85.tar.gz
fix(abbrevURL): ignore remaining URL from bugzilla
Diffstat (limited to 'plugin/spec.vim')
-rw-r--r--plugin/spec.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/spec.vim b/plugin/spec.vim
index 911ee68..b319ac5 100644
--- a/plugin/spec.vim
+++ b/plugin/spec.vim
@@ -7,8 +7,8 @@ function! ReplaceURLs()
s!https://bitbucket.org/\(.*\)/issues/\(\d\+\)!bt#\1#\2!e
s!https://build.suse.de/request/show/\(\d*\)!ssr#\1!e
s!https://build.opensuse.org/request/show/\(\d*\)!sr#\1!e
- s!https://bugzilla.opensuse.org/\(show_bug.cgi?id=\)\?\(\d*\)!boo#\2!e
- s!https://bugzilla.suse.com/\(show_bug.cgi?id=\)\?\(\d*\)!bsc#\2!e
+ s!https://bugzilla.opensuse.org/\(show_bug.cgi?id=\)\?\(\d*\).*$!boo#\2!e
+ s!https://bugzilla.suse.com/\(show_bug.cgi?id=\)\?\(\d*\).*$!bsc#\2!e
s!https://jira.suse.\(com\|de\)/browse/\(\d*\)!jsc#\2!e
s!https://bugs.python.org/issue\(\d\+\)!bpo#\1!e
s!https://bugs.launchpad.net/\([^/]\+\)/+bug/\(\d\+\)!lp#\2!e