Skip to content
Snippets Groups Projects
Commit 9bdea8da authored by Jerome Reybert's avatar Jerome Reybert
Browse files

plugin/magit.vim: fix peculiar folding opening while opening/closing commit section

parent 2b492253
No related branches found
No related tags found
No related merge requests found
......@@ -559,10 +559,10 @@ function! magit#update_buffer(...)
call call(func.fn, func.arg)
endfor
call magit#utils#clear_undo()
call winrestview(l:winview)
call magit#utils#clear_undo()
if ( b:magit_current_commit_mode != '' )
let commit_section_pat_start='^'.g:magit_sections.commit_start.'$'
silent! let section_line=search(commit_section_pat_start, "w")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment