aboutsummaryrefslogtreecommitdiffstats
path: root/osurl
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 /osurl
parent73f68fb48fe197e3158ca22c20b01872208a9bbf (diff)
downloadvim-suse-changes-95d0ed3c5ffae2cefa3bd5aa09ec9e1500975ecf.tar.gz
fix(osurl,abbrevURL): make osurl case insensitive and add additional GitLab pattern.
Diffstat (limited to 'osurl')
-rwxr-xr-xosurl2
1 files changed, 1 insertions, 1 deletions
diff --git a/osurl b/osurl
index 20e41e8..fcbf9a9 100755
--- a/osurl
+++ b/osurl
@@ -52,4 +52,4 @@ for k,v in pairs(patterns) do
end
local pat = Cs((bugpat + P(1))^0)
-os.execute("xdg-open " .. pat:match(arg[1]))
+os.execute("xdg-open " .. pat:match(arg[1]:lower()))