diff --git a/todo.sh b/todo.sh index 12adb54..070f865 100755 --- a/todo.sh +++ b/todo.sh @@ -826,7 +826,7 @@ _format() { if (match($0, /^[0-9]+ x /)) { print highlight("COLOR_DONE") $0 highlight("DEFAULT") - } else if (match($0, /^[0-9]+ \([A-Z]\)[[:space:]]/)) { + } else if (match($0, /^[0-9]+ \([A-Z]\) /)) { clr = highlight("PRI_" substr($0, RSTART + RLENGTH - 3, 1)) print \ (clr ? clr : highlight("PRI_X")) \