summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2012-01-22 15:00:25 -0500
committerJune McEnroe <programble@gmail.com>2012-01-22 15:00:25 -0500
commit92b6272ae7d79dcb2ef9048d83cfcb89ae6b22b7 (patch)
tree40055c3d6adfbede962047571ec152841453bf87
parentUpdate quicktask (diff)
downloadsrc-92b6272ae7d79dcb2ef9048d83cfcb89ae6b22b7.tar.gz
src-92b6272ae7d79dcb2ef9048d83cfcb89ae6b22b7.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