syntax: Amend UUID concealment to match short uuids too

This commit is contained in:
Tomas Babej 2015-03-27 02:19:04 +01:00
parent ef3b238b79
commit 9df904c98f

View file

@ -2,7 +2,8 @@
let s:conceal = exists("+conceallevel") ? ' conceal': '' let s:conceal = exists("+conceallevel") ? ' conceal': ''
" Conceal the UUID " Conceal the UUID
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 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
execute 'syn match VimwikiTaskUuid containedin=VimwikiCheckBoxDone,VimwikiCheckBoxActive /\v#[0-9a-fA-F]{8}$/'.s:conceal
" Conceal header definitions " Conceal header definitions
for s:i in range(1,6) for s:i in range(1,6)