]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Fix weird double fold in #if 0 in C files.
authorSimon Ruderich <simon@ruderich.org>
Sat, 30 Jun 2012 13:05:06 +0000 (15:05 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 30 Jun 2012 13:05:06 +0000 (15:05 +0200)
vimrc

diff --git a/vimrc b/vimrc
index f0e4e26e216d7e9ce14586d6d1065affdc4c3ae0..26f5383566b9652a1ecb983b7ff092ede8c41e30 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -601,6 +601,8 @@ if has('syntax')
 
 " Settings for specific filetypes.
 
+    " C
+    let g:c_no_if0_fold = 1 " fix weird double fold in #if0 in recent versions
     " Haskell.
     let g:hs_highlight_delimiters = 1
     let g:hs_highlight_boolean = 1