2018-07-28 20:39:57 +08:00
|
|
|
if exists('b:current_syntax') && b:current_syntax ==# 'SpaceVimTodoManager'
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let b:current_syntax = 'SpaceVimTodoManager'
|
|
|
|
syntax case ignore
|
|
|
|
|
|
|
|
syn match FileName /^[^ ]*/
|
2018-12-19 21:59:48 +08:00
|
|
|
syn match TODOTAG /^\s*@[a-zA-Z]*/
|
|
|
|
" syn match TODOCHECKBOX /[\d\+/\d\+\]/
|
|
|
|
syn match TODOINDEX /^\s\+\d\+\.\s/
|
|
|
|
syn match TODOCHECKBOXPANDING /\s\+√\s\+/
|
|
|
|
syn match TODOCHECKBOXDONE /\s\+□\s\+/
|
|
|
|
syn match TODOCHECKBOXNOTE /\s\+·\s\+/
|
|
|
|
syn match TODODUETIME /\d\+[d]$\|\d\+[d]\s\*$/
|
2018-07-28 20:39:57 +08:00
|
|
|
hi def link FileName Comment
|