Closed matze closed 10 years ago
+1; I've so far used
setlocal foldtext<
to undo this.
Unfortunately, the author seems to have gone AWOL :-(
Sorry for my slow response. I'll try and be a better open source citizen!
I'm trying to decide whether the FoldText()
function provided should be opt-out (as your pull request enables) or opt-in. Out of curiosity, what foldtext function do you prefer to use? Is the one that comes out of the box with Vim, or have you written your own folding function?
Personally, I don't like if plugins try to know what I want to see. This change adds a
g:markdown_fold_override_foldtext
option to disable overriding the foldtext. Setting the variable to 0 will stop the plugin from setting the custom foldtext function.