pseewald / vim-anyfold

Language agnostic vim plugin for folding and motion based on indentation.
MIT License
268 stars 11 forks source link

Fix extra fillchars in foldtext behind foldSizeStr #14

Closed ghost closed 6 years ago

ghost commented 6 years ago

I found several - filling foldtext behind foldSizeStr when I set number in Vim.

'numberwidth' 'nuw' number (Vim default: 4 Vi default: 8)

Then I fixed it by using &number * &numberwidth instead (&number ? 8 : 0)

pseewald commented 6 years ago

Thank you!