Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

todo_items crashes when cycled #893

Closed
2 tasks done
champignoom opened this issue May 22, 2023 · 0 comments · Fixed by #909
Closed
2 tasks done

todo_items crashes when cycled #893

champignoom opened this issue May 22, 2023 · 0 comments · Fixed by #909
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.

Comments

@champignoom
Copy link
Contributor

Prerequisites

  • I am using the latest stable release of Neovim
  • I am using the latest version of the plugin

Neovim Version

v0.9.0

Neorg setup

copied from readme

Actual behavior

Error executing Lua callback: ...t/neorg/lua/neorg/modules/core/qol/todo_items/module.lua:396: attempt to index local 'next' (a nil value)
stack traceback:
        ...t/neorg/lua/neorg/modules/core/qol/todo_items/module.lua:396: in function 'task_cycle'
        ...t/neorg/lua/neorg/modules/core/qol/todo_items/module.lua:440: in function 'on_event'
        ...are/nvim/site/pack/packer/opt/neorg/lua/neorg/events.lua:153: in function 'broadcast_event'
        ...ker/opt/neorg/lua/neorg/modules/core/keybinds/module.lua:445: in function <...ker/opt/neorg/lua/neorg/modules/core/keybinds/module.lua:430>
        ...ker/opt/neorg/lua/neorg/modules/core/keybinds/module.lua:429: in function 'on_event'
        ...are/nvim/site/pack/packer/opt/neorg/lua/neorg/events.lua:153: in function 'broadcast_event'
        ...ker/opt/neorg/lua/neorg/modules/core/neorgcmd/module.lua:289: in function <...ker/opt/neorg/lua/neorg/modules/core/neorgcmd/module.lua:196>

Expected behavior

Not crashing.

Steps to reproduce

test.norg:

* ( ) a
** ( ) a1
** ( ) a2
  1. Move to 2nd line, press ctrl-space. "a" and "a1" should have status "pending" and "done" respectively.
  2. move to 1st line, press ctrl-space.

Potentially conflicting plugins

No response

Other information

No response

Help

Yes

Implementation help

No response

@champignoom champignoom added the bug Issues related to bugs. Please attach a severity, a priority and category with this label. label May 22, 2023
@github-project-automation github-project-automation bot moved this to added-updated-reopened in sorting neorg issue tracker May 22, 2023
@github-project-automation github-project-automation bot moved this from added-updated-reopened to done in sorting neorg issue tracker May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant