dotfiles/neovim/.config/nvim/rc.d/33-folding.vim
Diogo Cordeiro c6cc2d3f9d first commit
2021-02-18 17:53:07 +00:00

15 lines
431 B
VimL

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: