From 2090379892827aaf561e4b41072f199606e7b34d Mon Sep 17 00:00:00 2001 From: rxi Date: Mon, 27 Apr 2020 18:44:46 +0100 Subject: [PATCH] Fixed multiple links on one line in markdown syntax --- data/plugins/language_md.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/plugins/language_md.lua b/data/plugins/language_md.lua index 97cc85e..f0b5e66 100644 --- a/data/plugins/language_md.lua +++ b/data/plugins/language_md.lua @@ -13,7 +13,7 @@ syntax.add { { pattern = { "%*", "[%*\n]", "\\" }, type = "operator" }, { pattern = { "%_", "[%_\n]", "\\" }, type = "keyword2" }, { pattern = "#.-\n", type = "keyword" }, - { pattern = "!?%[.*%]%(.*%)", type = "function" }, + { pattern = "!?%[.-%]%(.-%)", type = "function" }, { pattern = "https?://%S+", type = "function" }, }, symbols = { },