Syntax: Add concealment for UUIDs

This commit is contained in:
Tomas Babej 2014-12-31 03:30:37 +01:00
parent 0741cac677
commit 9fe5e523e1

5
after/syntax/vimwiki.vim Normal file
View file

@ -0,0 +1,5 @@
let s:conceal = exists("+conceallevel") ? ' conceal': ''
execute 'syn match VimwikiTaskUuid containedin=VimwikiCheckBoxDone /\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