From 50d8dbc353aa1d27044c7ced7ca1703ea48d30d0 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Tue, 19 Jul 2011 01:41:06 -0400 Subject: [PATCH] todo: don't always set bg, don't bg space prefixes --- todo.vim | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/todo.vim b/todo.vim index f298b52..854f794 100644 --- a/todo.vim +++ b/todo.vim @@ -1,19 +1,19 @@ highlight level1 ctermfg=LightGrey ctermbg=Red -highlight level2 ctermfg=Red ctermbg=Black -highlight level3 ctermfg=DarkRed ctermbg=Black -highlight level4 ctermfg=DarkYellow ctermbg=Black +highlight level2 ctermfg=Red +highlight level3 ctermfg=DarkRed +highlight level4 ctermfg=DarkYellow highlight VICTORY ctermfg=Black ctermbg=Blue -highlight maybedone ctermfg=Black ctermbg=DarkGreen +highlight maybedone ctermfg=DarkGreen highlight headline ctermfg=Black ctermbg=LightGrey "highlight moot ctermfg=DarkGrey ctermbg=Black -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 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[^ ]*/ set tabstop=8 -- 1.7.10.4