From 95d0ed3c5ffae2cefa3bd5aa09ec9e1500975ecf Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Wed, 6 May 2020 13:30:16 +0200 Subject: fix(osurl,abbrevURL): make osurl case insensitive and add additional GitLab pattern. --- plugin/spec.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/spec.vim') 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 -- cgit