From d3cf2a49075cfb422573dddc4c405ca7925dd10d Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Tue, 16 Aug 2022 15:23:59 +0200 Subject: [PATCH] Allow extra characters --- .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 e106f3b..4fc4e75 100644 --- a/.vim/after/syntax/pandoc.vim +++ b/.vim/after/syntax/pandoc.vim @@ -9,6 +9,6 @@ hi! link pandocCiteLocator Comment 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 +syn match Cloze /\({{c\d\+::\)\@<=\(\_[A-Za-z0-9$\ \\\-\*,_]*\)\(}}\)\@=/ containedin=pandocUListItem,pandocListItem hi! link Cloze Comment