# HG changeset patch # User Ludovic Chabant # Date 1461126248 25200 # Node ID 0e005903aae470a5d4f3430eec92f9af004032e5 # Parent add9f0ed0b49df96555e0a810016d76de170e1dc Use `diff` folding method for `Hgrecord`. diff -r add9f0ed0b49 -r 0e005903aae4 plugin/lawrencium.vim --- a/plugin/lawrencium.vim Tue Apr 19 21:12:37 2016 -0700 +++ b/plugin/lawrencium.vim Tue Apr 19 21:24:08 2016 -0700 @@ -2209,7 +2209,7 @@ call l:orig_buf.DefineCommand('Hgrecordabort', ':call s:HgRecord_Abort()') call l:orig_buf.DefineCommand('Hgrecordcommit', ':call s:HgRecord_Execute()') call s:HgDiff_DiffThis(l:diff_id) - setlocal foldmethod=marker + setlocal foldmethod=diff " Split the window and open the parent revision in the right or bottom " window. Keep the current buffer in the left or top window... we're going @@ -2245,7 +2245,7 @@ " Make it the other part of the diff. call s:HgDiff_DiffThis(l:diff_id) - setlocal foldmethod=marker + setlocal foldmethod=diff call l:rec_buf.SetVar('&filetype', l:orig_buf.GetVar('&filetype')) if g:lawrencium_record_start_in_working_buffer