Make all statuses bold
This commit is contained in:
parent
3879b80ce5
commit
4e6e744f70
1 changed files with 7 additions and 7 deletions
14
vimrc
14
vimrc
|
@ -231,16 +231,16 @@ function! ACPNModeTodo()
|
||||||
" All are highlighted except DONE and blank.
|
" All are highlighted except DONE and blank.
|
||||||
" Must be at the start of the line, optionally preceeded with an
|
" Must be at the start of the line, optionally preceeded with an
|
||||||
" asterisk and a space. This makes it work for Asciidoc lists.
|
" asterisk and a space. This makes it work for Asciidoc lists.
|
||||||
if getline(line(".")) =~# "[#]TODO:[#] "
|
if getline(line(".")) =~# "[#][*]TODO:[*][#] "
|
||||||
s/^\(\**\s*\)#TODO:# /\1#WORK:# /e
|
s/^\(\**\s*\)#\*TODO:\*# /\1#*WORK:*# /e
|
||||||
elseif getline(line(".")) =~# "[#]WORK:[#] "
|
elseif getline(line(".")) =~# "[#][*]WORK:[*][#] "
|
||||||
s/^\(\**\s*\)#WORK:# /\1#WAIT:# /e
|
s/^\(\**\s*\)#\*WORK:\*# /\1#*WAIT:*# /e
|
||||||
elseif getline(line(".")) =~# "[#]WAIT:[#] "
|
elseif getline(line(".")) =~# "[#][*]WAIT:[*][#] "
|
||||||
s/^\(\**\s*\)#WAIT:# /\1*DONE:* /e
|
s/^\(\**\s*\)#\*WAIT:\*# /\1*DONE:* /e
|
||||||
elseif getline(line(".")) =~# "[*]DONE:[*] "
|
elseif getline(line(".")) =~# "[*]DONE:[*] "
|
||||||
s/^\(\**\s*\)\*DONE:\* /\1/e
|
s/^\(\**\s*\)\*DONE:\* /\1/e
|
||||||
else
|
else
|
||||||
s/^\(\**\s*\)/\1#TODO:# /e
|
s/^\(\**\s*\)/\1#*TODO:*# /e
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue