File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -45,20 +45,22 @@ function! s:diffconfl()
4545 1 delete
4646 silent execute " file RCONFL"
4747 silent execute " set filetype=" . l: origFt
48+ diffthis " set foldmethod before editing
4849 silent execute " g/^<<<<<<< /,/^=======\\ r\\ ?$/d"
4950 silent execute " g/^>>>>>>> /d"
5051 setlocal nomodifiable readonly buftype = nofile bufhidden = delete nobuflisted
51- diffthis
5252
5353 " Set up the left-hand side.
5454 wincmd p
55+ diffthis " set foldmethod before editing
5556 if l: conflictStyle == ? " diff3" || l: conflictStyle == ? " zdiff3"
5657 silent execute " g/^||||||| \\ ?/,/^>>>>>>> /d"
5758 else
5859 silent execute " g/^=======\\ r\\ ?$/,/^>>>>>>> /d"
5960 endif
6061 silent execute " g/^<<<<<<< /d"
61- diffthis
62+
63+ diffupdate
6264endfunction
6365
6466function ! s: showHistory ()
You can’t perform that action at this time.
0 commit comments