oscarh / vimerl

A set of erlang plugins for VIM. This is not maintained, better use som modern fork of this!
159 stars 99 forks source link

fold no longer works when you set the g:erlangFoldSplitFunction variable #1

Closed zaphar closed 13 years ago

zaphar commented 14 years ago

Something about the code to split function heads does not work correctly. I haven't been able to trace the problem myself. but it is definitely in those if blocks because it works fine when you don't set the variable.

oscarh commented 14 years ago

Actually, most of the folding code is very broken :( I will try to take a look at it, but it should probably be re-written.

zaphar commented 14 years ago

ahhh ok :-) That explains it. Wish I had time to tackle a patch for you but at the moment I far too busy.

oscarh commented 13 years ago

The folding has been refactored quite a bit in the kTT branch, please let me know if this works for you.

Enabling and disabling folding is done by vim builtin control for this though.

/Oscar