mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Config: Separated configuration from defaults
This commit is contained in:
parent
9bc8643ce5
commit
a31434fd48
5 changed files with 397 additions and 423 deletions
|
@ -37,6 +37,7 @@
|
|||
#include <main.h>
|
||||
|
||||
Context context;
|
||||
extern std::string configurationDefaults;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
|
@ -50,7 +51,7 @@ int main (int, char**)
|
|||
try
|
||||
{
|
||||
// Set up configuration.
|
||||
context.config.setDefaults ();
|
||||
context.config.parse (configurationDefaults);
|
||||
context.config.set ("fontunderline", true);
|
||||
context.config.set ("tag.indicator", "+");
|
||||
context.config.set ("dependency.indicator", "D");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue