Mercurial > vim-lawrencium
diff plugin/lawrencium.vim @ 134:0e005903aae4
Use `diff` folding method for `Hgrecord`.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 19 Apr 2016 21:24:08 -0700 |
parents | add9f0ed0b49 |
children | 90f8d4bf4fa7 |
line wrap: on
line diff
--- 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