Merge pull request #905 from jgmdev/PR/md-add-parenthesis-bullet

language_md: parenthesis support to numbered bullets
This commit is contained in:
Jefferson González 2022-03-29 15:41:54 -04:00 committed by GitHub
commit 29968b6f35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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