summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2012-01-22 15:00:25 -0500
committerJune McEnroe <june@causal.agency>2012-01-22 15:00:25 -0500
commit4993e98ea6b083679bd968c72400101b140eeaa3 (patch)
tree40055c3d6adfbede962047571ec152841453bf87
parentUpdate quicktask (diff)
downloadsrc-4993e98ea6b083679bd968c72400101b140eeaa3.tar.gz
src-4993e98ea6b083679bd968c72400101b140eeaa3.zip
Enable syntax-based folding
-rw-r--r--.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 2dc9d72b..65b4046d 100644
--- a/.vimrc
+++ b/.vimrc
@@ -29,6 +29,8 @@ set smarttab
 set hlsearch
 set list
 set listchars=tab:»·,trail:·
+set foldmethod=syntax
+set foldlevel=1000
 
 set laststatus=2 " Always show statusline
 set statusline=%<%f\ %h%m%r%{fugitive#statusline()}%=%-14.(%l,%c%V%)\ %P