1 2 3 4
if &diff " only for diff mode/vimdiff set diffopt=filler,context:1000000 " filler is default and inserts empty lines for sync set foldmethod=syntax endif