From b8070fbb8f0efaf65e6b5200355218fa59e1e1d4 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sat, 20 Aug 2022 10:41:20 +0200 Subject: [PATCH] Allow multidigit numbers --- .vim/after/syntax/pandoc.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vim/after/syntax/pandoc.vim b/.vim/after/syntax/pandoc.vim index 4fc4e75..f176ac6 100644 --- a/.vim/after/syntax/pandoc.vim +++ b/.vim/after/syntax/pandoc.vim @@ -6,7 +6,7 @@ hi! link pandocCiteAnchor Comment hi! link pandocCiteLocator Comment " Match cloze delimiters e.g. `{{c1::` and `}}` -syn match ClozeDelimiter /{{c\d::/ conceal containedin=pandocUListItem,pandocListItem +syn match ClozeDelimiter /{{c\d\+::/ conceal containedin=pandocUListItem,pandocListItem syn match ClozeDelimiter /}}/ conceal containedin=pandocUListItem,pandocListItem " Match text between cloze delimiters syn match Cloze /\({{c\d\+::\)\@<=\(\_[A-Za-z0-9$\ \\\-\*,_]*\)\(}}\)\@=/ containedin=pandocUListItem,pandocListItem