aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/spec.vim
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2020-05-06 13:30:16 +0200
committerMatěj Cepl <mcepl@cepl.eu>2024-03-28 16:59:24 +0100
commit95d0ed3c5ffae2cefa3bd5aa09ec9e1500975ecf (patch)
tree7000c08abd5cc059ebed138eba16f4fa0688567e /plugin/spec.vim
parent73f68fb48fe197e3158ca22c20b01872208a9bbf (diff)
downloadvim-suse-changes-95d0ed3c5ffae2cefa3bd5aa09ec9e1500975ecf.tar.gz
fix(osurl,abbrevURL): make osurl case insensitive and add additional GitLab pattern.
Diffstat (limited to 'plugin/spec.vim')
-rw-r--r--plugin/spec.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/spec.vim b/plugin/spec.vim
index b319ac5..376e666 100644
--- a/plugin/spec.vim
+++ b/plugin/spec.vim
@@ -1,6 +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://gitlab.com/\(.*\)/\(-/\)\?\(issues\|pull\)/\(\d\+\)!gl#\1#\4!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