1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:20:05 +08:00
SpaceVim/.SpaceVim.d/syntax/SpaceVimTodoManager.vim

16 lines
497 B
VimL
Raw Normal View History

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 /^[^ ]*/
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