mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Merge branch 'special_tags' into 1.9.0
Conflicts: ChangeLog src/recur.cpp - Implemented unit tests for the +nonag and +nocolor special tags.
This commit is contained in:
commit
50f27e0952
3 changed files with 81 additions and 0 deletions
|
@ -55,6 +55,10 @@ void initializeColorRules ()
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
void autoColorize (Task& task, Color& c)
|
||||
{
|
||||
// The special tag 'nocolor' overrides all auto colorization.
|
||||
if (task.hasTag ("nocolor"))
|
||||
return;
|
||||
|
||||
// Note: fg, bg already contain colors specifically assigned via command.
|
||||
// Note: These rules form a hierarchy - the last rule is King.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue