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. --- osurl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'osurl') 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())) -- cgit