Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(virtual indent): offset
on_lines
start & end by +1
This ensures the headlines grab the correct range, prior to this on nightly (0.10.0) it would appear that the range of lines grabbed caused the lookup to include the previous headline in the treesitter lookup. By offsetting forward by 1, treesitter correctly grabs the nearest (new) headline and sets the virtual indentation accordingly.
- Loading branch information