Fixed multiple links on one line in markdown syntax

This commit is contained in:
rxi 2020-04-27 18:44:46 +01:00
parent 439537d63e
commit 2090379892

View file

@ -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 = { },