This ensures when the treesitter parser has errors, the manual indent
sizing doesn't return virtual indentation for headlines.
Before the Fix
After the Fix
Misc
What's annoying is that the tests didn't catch this -- need a test to check raw insertion and typing I guess. That would've caught this for sure. The current tests loads the file, where the virtual indent works as expected.
Something to put on my TODO when I have more time.
Again, if anything crops up with Virtual Indent, ping me. I'll gladly look at it.
Copied from the body of the commit message:
Before the Fix
After the Fix
Misc
What's annoying is that the tests didn't catch this -- need a test to check raw insertion and typing I guess. That would've caught this for sure. The current tests loads the file, where the virtual indent works as expected.
Something to put on my TODO when I have more time.
Again, if anything crops up with Virtual Indent, ping me. I'll gladly look at it.