pseewald / vim-anyfold

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

What's the difference to foldmethod=indent #23

Closed jounathaen closed 6 years ago

jounathaen commented 6 years ago

Hi, To be honest, I haven't installed the plugin, but just from reading the README, I don't get what the benefit of this plugin is, in contrast to vim's foldmethod=indent. Would be nice to have this information in the README. :-) Greets Jounathaen

pseewald commented 6 years ago

Yes this should be documented! Why I started writing this plugin instead of using foldmethod=indent:

A disadvantage of vim-anyfold is that it is much slower than foldmethod=indent.

I will add this information to the README. Thank you!