jakewvincent / mkdnflow.nvim

Fluent navigation and management of markdown notebooks
GNU General Public License v3.0
695 stars 41 forks source link

Feature: Option to reset tick list parent item to 'in-progress' when adding a new item to a completed list #146

Open brettmitchelldev opened 1 year ago

brettmitchelldev commented 1 year ago

When to_do.update_parents is true, it might be good to reset a completed parent todo item to its in-progress status whenever a new list item is added.

E.g.

- [-] Parent
  - [x] Child 1
  - [-] Child 2

Complete Child 2

- [x] Parent
  - [x] Child 1
  - [x] Child 2

Add Child 3

Current behavior:

- [x] Parent
  - [x] Child 1
  - [x] Child 2
  - [ ] Child 3

Desired behavior:

- [-] Parent
  - [x] Child 1
  - [x] Child 2
  - [ ] Child 3

Note: Current behavior does reset the parent back to in-progress once you update Child 3 to in-progress. This only affects new child list items.