taskwiki/after/syntax/vimwiki.vim

8 lines
403 B
VimL

syntax match VimwikiCheckBoxActive /\*\s*\[S\]\s.*$/
hi def link VimwikiCheckBoxActive Type
let s:conceal = exists("+conceallevel") ? ' conceal': ''
execute 'syn match VimwikiTaskUuid containedin=VimwikiCheckBoxDone,VimwikiCheckBoxActive /\v#[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/'.s:conceal
hi link VimwikiTaskUuid Comment
set conceallevel=3
set concealcursor=nc