anuvyklack / pretty-fold.nvim

Foldtext customization in Neovim
Apache License 2.0
441 stars 21 forks source link

fix #16, make counts work for h/l motions #17

Closed debugloop closed 2 years ago

debugloop commented 2 years ago

Sorry for double opening an issue/PR, but I couldn't leave it be and it turned out to be an easy fix.

I don't think it breaks anything the plugin does or otherwise interferes in any way. As per docs, count1 should always contain a 1, so this will affect the base use case in so far that 1h or 1l is run from now on, but it is sufficient to make countable motions (42l) work. It does also work when used as a text object, i.e. d42l or something, but I'm not exactly sure why and that may warrant further testing...

anuvyklack commented 2 years ago

Thank you very much for contribution!

P.S: sorry for delay, we have a war here.

debugloop commented 2 years ago

Understandable, I wish the best for you and yours.