Bug: Pressing <S-Tab> in INSERT mode on list item results in Error executing Lua callback: stack overflow
#257
Labels
bug
Something isn't working
Bug description
There are situations where pressing results in a stack overflow.
This happens while being in INSERT mode and at the start of a list item, but only if there is a todo list item above it in the same list.
So for example, having a markdown file with the following content will result in the error.
This does sometimes result in an error (did not find a way to reproduce this properly yet):
This does work as expected:
Reproduction steps
Steps to reproduce the behavior:
Expected behavior
A tab should be inserted and no error should be thrown.
Error output and/or screenshots
Context
The text was updated successfully, but these errors were encountered: