aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp
diff options
context:
space:
mode:
authorA-Walrus2022-10-17 11:23:50 +0000
committerBlaž Hrastnik2022-10-17 15:38:16 +0000
commit8bbddf90ffda7c37f8a87f71227a185007ddfae0 (patch)
tree63aba8f868d10ffff5da7add9ec3d28a76afbf79 /helix-lsp
parent1de02a147c1738015aa26dea7c8fd313f3741d8e (diff)
Replace `in_bounds` with calculation of end_indent
Instead of repeatedly checking if it is in_bounds, calculate the max_indent beforehand and just loop. I added a debug_assert to "prove" that it never tries drawing out of bounds.
Diffstat (limited to 'helix-lsp')
0 files changed, 0 insertions, 0 deletions