mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 15:53:07 +02:00
syntax: Add syntax highlightning for active tasks
This commit is contained in:
parent
6a5432a677
commit
087bfa7f7e
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
syntax match VimwikiCheckBoxActive /\*\s*\[S\]\s.*$/
|
||||
hi def link VimwikiCheckBoxActive Type
|
||||
|
||||
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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue