X-Git-Url: https://jasonwoof.com/gitweb/?p=vim-syntax.git;a=blobdiff_plain;f=todo.vim;h=6f269230ffb04d34b727412e4b0c00e8ecc2997f;hp=854f7947d94b2041f9dbc87d6ad0b0e5530be356;hb=6282be58adecccdcd86a46fc3296889b22c623cb;hpb=50d8dbc353aa1d27044c7ced7ca1703ea48d30d0 diff --git a/todo.vim b/todo.vim index 854f794..6f26923 100644 --- a/todo.vim +++ b/todo.vim @@ -1,20 +1,24 @@ -highlight level1 ctermfg=LightGrey ctermbg=Red -highlight level2 ctermfg=Red -highlight level3 ctermfg=DarkRed -highlight level4 ctermfg=DarkYellow -highlight VICTORY ctermfg=Black ctermbg=Blue -highlight maybedone ctermfg=DarkGreen -highlight headline ctermfg=Black ctermbg=LightGrey -"highlight moot ctermfg=DarkGrey ctermbg=Black +highlight partial ctermfg=DarkYellow +highlight done ctermfg=DarkGreen +highlight maybedone ctermfg=Blue +highlight headline ctermfg=White cterm=bold,underline +highlight moot ctermfg=DarkGrey -syntax match level1 /^[*][*][*][*][ ]\+\zs.*/ -syntax match level2 /^[*][*][*][ ]\+\zs.*/ -syntax match level3 /^[*][*][ ]\+\zs.*/ -syntax match level4 /^[*][ ]\+\zs.*/ -syntax match VICTORY /^\(VICTORY\|DONE\|YAY\)!\?[ ]\+\zs.*/ -syntax match maybedone /^\(done\)\??[ ]\+\zs.*/ -syntax match moot /^[#].*/ -syntax match headline /^ \+\zs[^ ]*/ +syntax match partial /^*\+\t\+\zs.*p[0-9]$/ +syntax match done /^\(VICTORY\|DONE\|done\|YAY\|:)\|!\|+\)!\?\t\+\zs.*/ +syntax match done /^\*\+\t\+\zs.*[^0-9]$/ +syntax match done /^\*\+\t\+\zs.*p1$/ +syntax match done /^\*\*\+\t\+\zs.*p2$/ +syntax match done /^\*\*\*\+\t\+\zs.*p3$/ +syntax match done /^\*\*\*\*\+\t\+\zs.*p4$/ +syntax match done /^\*\*\*\*\*\+\t\+\zs.*p5$/ +syntax match done /^\*\*\*\*\*\*\+\t\+\zs.*p6$/ +syntax match done /^\*\*\*\*\*\*\*\+\t\+\zs.*p7$/ +syntax match done /^\*\*\*\*\*\*\*\*\+\t\+\zs.*p8$/ +syntax match done /^\*\*\*\*\*\*\*\*\*\+\t\+\zs.*p9$/ +syntax match maybedone /^\(done\)\??\t\+\zs.*/ +syntax match moot /^[#]\t\+.*/ +syntax match headline /^ \+\zs[^\t]*/ set tabstop=8 set shiftwidth=8