Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 410 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 410 Bytes

phpfold

Fold according php ast. Thanks to PHP Parser.

install

For vim-plug:

Plug 'lvht/phpfold.vim', { 'for': 'php' }

usage

Use zm or :PhpFold to fold the php file.

Set

let g:phpfold_include_surround_blank_lines = 'downward'

if you want to include surround blank lines into each fold. You can set it also to upward.