Update 'pandocCiteKey' syntax highlighting

master
Hektor Misplon 2024-10-08 20:35:51 +02:00
parent 02eab915e7
commit 2444cba1cb
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@ hi! link pandocCiteKey Comment
hi! link pandocCiteAnchor Comment
hi! link pandocCiteLocator Comment
" Don't show the CiteKey within the CiteLocator
syn match pandocCiteKey /\v\[[^]]+\]/ contained
" Match cloze delimiters e.g. `{{c1::` and `}}`
syn match ClozeDelimiter /{{c\d\+::/ conceal containedin=pandocUListItem,pandocListItem
syn match ClozeDelimiter /}}/ conceal containedin=pandocUListItem,pandocListItem