aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/spec.vim
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2019-04-26 15:52:14 +0200
committerMatěj Cepl <mcepl@cepl.eu>2024-03-28 16:54:52 +0100
commitdbf59ccb069ae5376be7da223cb5a92718938c46 (patch)
treeb5c2445a496eef54292dc4b31260124c769a101c /plugin/spec.vim
parentf295fe63b780d2f08782ead523d89c41d4409750 (diff)
downloadvim-suse-changes-dbf59ccb069ae5376be7da223cb5a92718938c46.tar.gz
feat(osurl): add gitlab.com reference gl#project#ID
Diffstat (limited to 'plugin/spec.vim')
-rw-r--r--plugin/spec.vim1
1 files changed, 1 insertions, 0 deletions
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