Commit 041ff8a
authored
fix(virtual indent): make TS lookup not exclude lines (#700)
Prior to this commit, it was possible that virtual indents would only
apply to the first heading in a range of lines and the other headings
would lose virtual indentation.
This change makes the Treesitter lookup prefer the largest range of
lines to set virtual indentation on and thus ensures virtual indent is
set correctly across the entire range.1 parent 872853d commit 041ff8a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
0 commit comments