When I create a fold with zfap, vim displays something like:+--  15 lines: myFunctionPrototype :: Test -> Test -> Bool However, I would like vim not to display this number of lines.I find this distracting, and not adding sufficient information in my case.I'd prefer:+-- : myFunctionPrototype :: Test -> Test -> Boolor even better:+-- myFunctionPrototype :: Test -> Test -> BoolIs there a way to suppress the line count, or a way to modify what vim displays when there's a fold that I could put in my vimrc ?
Change what vim displays when there is a fold
vimrc;folding
to put in .vimrc:set foldtext=MyFoldText()function MyFoldText()  let line = getline(v:foldstart)  let sub = substitute(line, '/\*\|\*/\|{{{\d\=', '', 'g')  return v:folddashes . subendfunctionMyFoldText is now the function that is responsible for displaying some text, when some lines have been folded.