From 239b7c535cc7a33765f4a8579fb9c174fedb5828 Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Mon, 4 Feb 2019 04:38:59 +0000 Subject: [PATCH] Do not ignore comment lines by default The default behavior should probably be the standard behavior --- todotxt.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/todotxt.go b/todotxt.go index 03e5032..293e14b 100644 --- a/todotxt.go +++ b/todotxt.go @@ -21,12 +21,12 @@ import ( // It is usually loaded from a whole todo.txt file. type TaskList []Task -// IgnoreComments can be set to 'false', in order to revert to a more standard todo.txt behaviour. +// IgnoreComments can be set to 'true', to ignore lines that start with # // The todo.txt format does not define comments. var ( // IgnoreComments is used to switch ignoring of comments (lines starting with "#"). // If this is set to 'false', then lines starting with "#" will be parsed as tasks. - IgnoreComments = true + IgnoreComments = false ) // NewTaskList creates a new empty TaskList.