mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
Config: Separated configuration from defaults
This commit is contained in:
parent
e2271f9a03
commit
00bbca275c
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