On 04/01/09 02:45, anhnmncb wrote: > I have a foldtext() that generates a long line, I don't know how to let it > wrap to next line to show the foldtext cross lines. Or is it unpossible at > present? >
First, a warning: Folding is one of the areas of Vim that I know worst, so if anyone else replies, read it. Now what is the foldtext? IIUC it is the text which Vim prints on a closed fold, and a closed fold is shown as exactly one line in the display (in gvim, and with no colorscheme, it has grey background). So, IIUC (but maybe I don't) you cannot display more than one line of 'foldtext'. See ":help fold-foldtext" where it is said (among others): "The resulting line is truncated to fit in the window, it never wraps." Best regards, Tony. -- Computers will not be perfected until they can compute how much more than the estimate the job will cost. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
