dotfiles/vim/.vim/rc.d/33-folding.vim

15 lines
431 B
VimL
Raw Normal View History

2018-10-02 21:41:43 +01:00
set foldlevelstart=10 " open most folds by default
"
" ==================================================
" XML folding
" ==================================================
let g:xml_syntax_folding=1
au FileType xml setlocal foldmethod=syntax
" ==================================================
" JSON folding
" ==================================================
au FileType json setlocal foldmethod=syntax
" vim:set et sw=2: