usagi-flow / evil-helix

Bringing the Helix editor to the evil side
https://github.com/usagi-flow/helix
Mozilla Public License 2.0
280 stars 7 forks source link

fix(evil): avoid a panic when appending at the EOF #31

Closed usagi-flow closed 3 months ago

usagi-flow commented 3 months ago

Fixes #30

This generally makes collapsing safer, by ensuring we don't overflow on addition/subtraction.