swekaj / php-foldexpr.vim

Vim folding for PHP with foldexpr
MIT License
41 stars 10 forks source link

Create a foldtext() function #2

Closed swekaj closed 10 years ago

swekaj commented 10 years ago

Some of the folds don't provide useful information when folded (e.g. /** */ comments just display +---- 5 lines: *------------. Write a function for fold-text to handle this better.

See :help foldtext() and :help fold-text