Do not ignore comment lines by default

The default behavior should probably be the standard behavior
This commit is contained in:
Brian Buller 2019-02-04 04:38:59 +00:00
parent 97a991fa26
commit 239b7c535c
1 changed files with 2 additions and 2 deletions

View File

@ -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.