mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 15:53:07 +02:00
syntax: Amend UUID concealment to match short uuids too
This commit is contained in:
parent
ef3b238b79
commit
9df904c98f
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@
|
|||
let s:conceal = exists("+conceallevel") ? ' conceal': ''
|
||||
|
||||
" 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
|
||||
for s:i in range(1,6)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue