todo.vim (1021B)
1 if exists("b:current_syntax") 2 finish 3 endif 4 5 setlocal ts=4 sw=4 expandtab 6 7 syn match todoItem '\[.\]' contains=todoItemDone,todoItemRevision,todoItemProgress,todoItemPrepared 8 syn match todoItemDone 'X' contained 9 syn match todoItemRevision '\*' contained 10 syn match todoItemProgress '-' contained 11 syn match todoItemPrepared '\.' contained 12 syn match todoItemUnsure '[\?]' contained 13 syn match todoCategory '^#.*' contains=todoCategoryContent,todoCategoryDelim 14 syn match todoCategoryDelim '[#]*' contained 15 syn match todoCategoryContent '[^#]*' contained 16 syn match todoBullet '^\s*[-+*]' 17 18 hi link todoItem Operator 19 hi todoItemDone ctermfg=46 cterm=bold guifg=#00aa00 gui=bold 20 hi todoItemRevision ctermfg=88 cterm=bold guifg=#aa0000 gui=bold 21 hi todoItemUnsure ctermfg=202 cterm=bold guifg=#aa0000 gui=bold 22 hi link todoItemProgress Operator 23 hi link todoItemPrepared Operator 24 hi link todoCategoryContent Title 25 hi link todoCategoryDelim Preproc 26 hi link todoCategory todoCategoryDelim 27 hi link todoBullet Statement