anuvyklack / pretty-fold.nvim

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

pretty-fold.preview: mapping breaks countable movement with h/l #16

Closed debugloop closed 2 years ago

debugloop commented 2 years ago

As the title says basically. When the plugin is loaded one can't do 20l, 42h, or some such. I use counts for those movements occasionally and I stumbled upon this.

In case it helps, I've made mapping accept a count using:

function() for i=1,vim.v.count1 do
...
end end