From 4e6e744f7018a68f0af38bf958d71566c00209da Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Mon, 20 Feb 2023 10:54:02 +0000 Subject: [PATCH] Make all statuses bold --- vimrc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/vimrc b/vimrc index e055d7e..808a362 100644 --- a/vimrc +++ b/vimrc @@ -231,16 +231,16 @@ function! ACPNModeTodo() " All are highlighted except DONE and blank. " Must be at the start of the line, optionally preceeded with an " asterisk and a space. This makes it work for Asciidoc lists. - if getline(line(".")) =~# "[#]TODO:[#] " - s/^\(\**\s*\)#TODO:# /\1#WORK:# /e - elseif getline(line(".")) =~# "[#]WORK:[#] " - s/^\(\**\s*\)#WORK:# /\1#WAIT:# /e - elseif getline(line(".")) =~# "[#]WAIT:[#] " - s/^\(\**\s*\)#WAIT:# /\1*DONE:* /e + if getline(line(".")) =~# "[#][*]TODO:[*][#] " + s/^\(\**\s*\)#\*TODO:\*# /\1#*WORK:*# /e + elseif getline(line(".")) =~# "[#][*]WORK:[*][#] " + s/^\(\**\s*\)#\*WORK:\*# /\1#*WAIT:*# /e + elseif getline(line(".")) =~# "[#][*]WAIT:[*][#] " + s/^\(\**\s*\)#\*WAIT:\*# /\1*DONE:* /e elseif getline(line(".")) =~# "[*]DONE:[*] " s/^\(\**\s*\)\*DONE:\* /\1/e else - s/^\(\**\s*\)/\1#TODO:# /e + s/^\(\**\s*\)/\1#*TODO:*# /e endif endfunction