Describe the bug
When trying to append a capture to an existing todo or heading from inside the capture window, after using <leader>or and selecting a sub heading, an error is thrown.
E5108: Error executing lua ...k/packer/start/orgmode.nvim/lua/orgmode/capture/init.lua:145: attempt to index local 'item' (a nil value)
To Reproduce
Steps to reproduce the behavior:
Open the capture menu
Add some details to the template
hit <leader>or to move to a specific location
try to complete a sub heading e.g. todo.org/some_heading
See error
Expected behavior
The TODO item should be saved to the specific part/location within the org document
Emacs functionality
I presume this is how it would work in Emacs.
Screenshots
System information:
OS: Linux
Neovim version/commit: v.0.5
Additional context
Add any other context about the problem here.
Describe the bug When trying to append a capture to an existing todo or heading from inside the capture window, after using
<leader>or
and selecting a sub heading, an error is thrown.To Reproduce Steps to reproduce the behavior:
<leader>or
to move to a specific locationtodo.org/some_heading
Expected behavior The TODO item should be saved to the specific part/location within the org document
Emacs functionality I presume this is how it would work in Emacs.
Screenshots
System information:
Additional context Add any other context about the problem here.