Mercurial > vim-lawrencium
diff autoload/lawrencium/log.vim @ 140:652a6f5df0f3
Fixed for broken things after the reorganization.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 13 Jun 2016 21:55:40 -0700 |
parents | 065625e1bb31 |
children | 4d5f4233b04e |
line wrap: on
line diff
--- a/autoload/lawrencium/log.vim Mon Jun 13 09:32:34 2016 -0700 +++ b/autoload/lawrencium/log.vim Mon Jun 13 21:55:40 2016 -0700 @@ -9,7 +9,7 @@ call lawrencium#add_reader("logpatch", "lawrencium#log#read_patch") endfunction -let s:log_style_file = expand("<sfile>:h:h") . "/resources/hg_log.style" +let s:log_style_file = expand("<sfile>:h:h:h") . "/resources/hg_log.style" function! lawrencium#log#read(repo, path_parts, full_path) abort let l:log_opts = join(split(a:path_parts['value'], ',')) @@ -87,10 +87,10 @@ " Clean up when the log buffer is deleted. let l:bufobj = lawrencium#buffer_obj() - call l:bufobj.OnDelete('call s:HgLog_Delete(' . l:bufobj.nr . ')') + call l:bufobj.OnDelete('call lawrencium#log#HgLog_Delete(' . l:bufobj.nr . ')') endfunction -function! s:HgLog_Delete(bufnr) +function! lawrencium#log#HgLog_Delete(bufnr) if g:lawrencium_auto_close_buffers call lawrencium#delete_dependency_buffers('lawrencium_diff_for', a:bufnr) call lawrencium#delete_dependency_buffers('lawrencium_rev_for', a:bufnr)