Skip to content

Issues setting a task status to done when multiple viewports show it #396

@alvaromartin

Description

@alvaromartin

I'm running into an issue where I can't set a task to done using <Leader>td when it's present in multiple viewports in the same file. See the gif below:

taskwiki

Steps to reproduce

  1. Create a viewport "Test Tag | +test"
  2. Create a viewport "Test"
  3. Add a task "test task" inside of "Test" viewport
  4. Modify the "test task" task using <Leader>tm and add "test" tag using +test
  5. Save the file :w<CR>
  6. Both "Test Tag" and "Test" viewports display the task "test task"
  7. Place cursor on "test task" inside of "Test Tag" viewport and set it to done using <Leader>td
  8. Save the file using :w<CR>

Expectation "test task" is set to done in both "Test Tag" and "Test" viewports
Actual Result "test task" is not set to done at all. It only works when I set it to done in the "Test" viewport

tasklib2.4.3
neovim0.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions