danielma / magit-org-todos.el

Get `todo.org` into your magit status
GNU General Public License v3.0
62 stars 3 forks source link

Nested TODOs are listed sequentially #7

Closed czan closed 6 years ago

czan commented 6 years ago

I like to write my tasks in a hierarchical fashion, with one big task consisting of a series of smaller tasks. When these get rendered by magit-org-todos they come out sequentially. For example:

* TODO Report an issue
** TODO Decide on what the correct behaviour is
** TODO Write the issue text
** TODO Press "Submit new issue"

Gets rendered in my magit buffer as:

Todos (4):
* TODO Report an issue
* TODO Decide on what the correct behaviour is
* TODO Write the issue text
* TODO Press "Submit new issue"

It would be great if the level could be preserved when these tasks are rendered. I'm happy to write and submit a patch for this behaviour.