diff options
-rwxr-xr-x | osurl | 2 | ||||
-rw-r--r-- | plugin/spec.vim | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -19,7 +19,7 @@ local patterns = { ["bsc#%NUM"] = "https://bugzilla.suse.com/show_bug.cgi?id=%1", ["bds#%NUM"] = "https://build.suse.de/request/show/%1", ["bdo#%NUM"] = "https://build.opensuse.org/request/show/%1", - ["jsc#%JIRID"] = "https://jira.suse.de/browse/%1", + ["jsc#%JIRID"] = "https://jira.suse.com/browse/%1", ["gh#%NONHASH#%WORD"] = "https://github.com/%1/issues/%2", ["gl#%NONHASH#%WORD"] = "https://gitlab.com/%1/issues/%2", ["bt#%NONHASH#%WORD"] = "https://bitbucket.org/%1/issues/%2", diff --git a/plugin/spec.vim b/plugin/spec.vim index 966e679..17be0b0 100644 --- a/plugin/spec.vim +++ b/plugin/spec.vim @@ -6,6 +6,7 @@ function! ReplaceURLs() s!https://build.opensuse.org/request/show/\(\d*\)!bdo#\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://jira.suse.\(com\|de\)/browse/\(\d*\)!jsc#\2!e endfunction noremap gG :call ReplaceURLs()<CR> |