4

Script:1868

view full story
linux-howto

http://vim.wikia.com – move in fixes from VimTip419 New page{{ScriptComments|1868|simplefold : space-optimized, configurable folds}} See [http://eigenclass.org/hiki/simplefold simplefold website]. ==Comments== ===Perl support fix=== By default (with the latest 0.5 version at this writing), it doesn't handle a lot of folding cases for Perl properly, but if you replace the Perl support section of SimpleFold.vim with the lines below, it will handle nearly every case properly. <pre> " Perl support let g:perl_simplefold_expr = \ '\v(^\s*(package|use|sub)>\s)' let g:perl_simplefold_nestable_end_expr = (HowTos)