From a9bce59ab18ba986dc11bbade5b52d9e9950a44f Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Wed, 23 Nov 2011 16:55:26 -0600 Subject: [PATCH] Fold on syntax in vim --- editors/vim/ui.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editors/vim/ui.vim b/editors/vim/ui.vim index 174c15f..dfe1f52 100644 --- a/editors/vim/ui.vim +++ b/editors/vim/ui.vim @@ -62,7 +62,7 @@ syntax on " Folding set foldenable " Turn on folding - set foldmethod=marker " Fold on the marker + set foldmethod=syntax " Fold on the marker set foldlevel=100 " Don't autofold anything (but I can still fold manually) set foldopen=block,hor,mark,percent,quickfix,tag " what movements open folds