comparison plugin/lawrencium.vim @ 138:a2d823c82e5f

Merge pull request #11 from GitHub.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 19 Apr 2016 21:33:41 -0700
parents 90f8d4bf4fa7 3f1c7af69b43
children 065625e1bb31
comparison
equal deleted inserted replaced
136:90f8d4bf4fa7 138:a2d823c82e5f
2245 2245
2246 " Make it the other part of the diff. 2246 " Make it the other part of the diff.
2247 call s:HgDiff_DiffThis(l:diff_id) 2247 call s:HgDiff_DiffThis(l:diff_id)
2248 setlocal foldmethod=diff 2248 setlocal foldmethod=diff
2249 call l:rec_buf.SetVar('&filetype', l:orig_buf.GetVar('&filetype')) 2249 call l:rec_buf.SetVar('&filetype', l:orig_buf.GetVar('&filetype'))
2250 call l:rec_buf.SetVar('&fileformat', l:orig_buf.GetVar('&fileformat'))
2250 2251
2251 if g:lawrencium_record_start_in_working_buffer 2252 if g:lawrencium_record_start_in_working_buffer
2252 wincmd p 2253 wincmd p
2253 endif 2254 endif
2254 endfunction 2255 endfunction