diff options
-rwxr-xr-x | osurl | 1 | ||||
-rw-r--r-- | plugin/spec.vim | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -21,6 +21,7 @@ local patterns = { ["bdo#%NUM"] = "https://build.opensuse.org/request/show/%1", ["jsc#%JIRID"] = "https://jira.suse.de/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", ["lp#%NUM"] = "https://launchpad.net/bugs/%1", ["rh#%NUM"] = "https://bugzilla.redhat.com/show_bug.cgi?id=%1", diff --git a/plugin/spec.vim b/plugin/spec.vim index 2a226de..966e679 100644 --- a/plugin/spec.vim +++ b/plugin/spec.vim @@ -1,5 +1,6 @@ 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://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 |