Mercurial > vim-lawrencium
comparison plugin/lawrencium.vim @ 137:3f1c7af69b43
Fix Hgrecord fileformat
author | hokorobi <hokorobi.hokorobi@gmail.com> |
---|---|
date | Sun, 21 Feb 2016 15:48:51 +0900 |
parents | a9136d95cf47 |
children | a2d823c82e5f |
comparison
equal
deleted
inserted
replaced
122:a9136d95cf47 | 137:3f1c7af69b43 |
---|---|
2215 | 2215 |
2216 " Make it the other part of the diff. | 2216 " Make it the other part of the diff. |
2217 call s:HgDiff_DiffThis(l:diff_id) | 2217 call s:HgDiff_DiffThis(l:diff_id) |
2218 setlocal foldmethod=marker | 2218 setlocal foldmethod=marker |
2219 call l:rec_buf.SetVar('&filetype', l:orig_buf.GetVar('&filetype')) | 2219 call l:rec_buf.SetVar('&filetype', l:orig_buf.GetVar('&filetype')) |
2220 call l:rec_buf.SetVar('&fileformat', l:orig_buf.GetVar('&fileformat')) | |
2220 | 2221 |
2221 if g:lawrencium_record_start_in_working_buffer | 2222 if g:lawrencium_record_start_in_working_buffer |
2222 wincmd p | 2223 wincmd p |
2223 endif | 2224 endif |
2224 endfunction | 2225 endfunction |