From 5f9d45895deb55d6be3778d6123bf53b398d2a6d Mon Sep 17 00:00:00 2001 From: jgmdev Date: Mon, 28 Mar 2022 21:03:59 -0400 Subject: [PATCH] language_md: parenthesis support to numbered bullets --- 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 591dba47..2a622d8c 100644 --- a/data/plugins/language_md.lua +++ b/data/plugins/language_md.lua @@ -134,7 +134,7 @@ syntax.add { { pattern = "^%s*%-%s", type = "number" }, { pattern = "^%s*%+%s", type = "number" }, -- numbered bullet - { pattern = "^%s*[0-9]+%.%s", type = "number" }, + { pattern = "^%s*[0-9]+[%.%)]%s", type = "number" }, -- blockquote { pattern = "^%s*>+%s", type = "string" }, -- bold and italic