aboutsummaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 4e1d925..319ffd9 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -109,7 +109,8 @@ endfunction
" }}}
" Folding {{{
if has('folding')
- set foldmethod=marker
+ "set foldmethod=marker " default
+ set foldmethod=syntax
" set foldmarker=#\ {{{,#\ }}}
set viewoptions=folds,options,cursor,unix,slash
endif