From: Simon Ruderich Date: Sat, 14 Jan 2012 20:31:43 +0000 (+0100) Subject: vimrc: Enable folding for Vim and XML. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=892d099baa74f7399d60c78378f2e401dd14e05e vimrc: Enable folding for Vim and XML. --- diff --git a/vimrc b/vimrc index 3d75498..75283da 100644 --- a/vimrc +++ b/vimrc @@ -449,6 +449,10 @@ if has('syntax') let g:perl_fold_blocks = 1 let g:perl_nofold_packages = 1 let g:perl_include_pod = 1 " syntax coloring for PODs + " Vim, enable folding for autogroups (a) and functions (f). + let g:vimsyn_folding = "af" + " XML. + let g:xml_syntax_folding = 1 endif