Allow multidigit numbers

This commit is contained in:
2022-08-20 10:41:20 +02:00
parent e0a71363b4
commit b8070fbb8f

View File

@@ -6,7 +6,7 @@ hi! link pandocCiteAnchor Comment
hi! link pandocCiteLocator Comment hi! link pandocCiteLocator Comment
" Match cloze delimiters e.g. `{{c1::` and `}}` " 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 syn match ClozeDelimiter /}}/ conceal containedin=pandocUListItem,pandocListItem
" Match text between cloze delimiters " Match text between cloze delimiters
syn match Cloze /\({{c\d\+::\)\@<=\(\_[A-Za-z0-9$\ \\\-\*,_]*\)\(}}\)\@=/ containedin=pandocUListItem,pandocListItem syn match Cloze /\({{c\d\+::\)\@<=\(\_[A-Za-z0-9$\ \\\-\*,_]*\)\(}}\)\@=/ containedin=pandocUListItem,pandocListItem