This commit is contained in:
Steve Losh 2012-06-02 17:20:52 -04:00
commit cfd39cacf8

View File

@ -322,11 +322,17 @@ function! s:GundoToggle()"{{{
endfunction"}}} endfunction"}}}
function! s:GundoShow()"{{{ function! s:GundoShow()"{{{
call s:GundoOpen() if !s:GundoIsVisible()
let g:gundo_target_n = bufnr('')
let g:gundo_target_f = @%
call s:GundoOpen()
endif
endfunction"}}} endfunction"}}}
function! s:GundoHide()"{{{ function! s:GundoHide()"{{{
call s:GundoClose() if s:GundoIsVisible()
call s:GundoClose()
endif
endfunction"}}} endfunction"}}}
"}}} "}}}
@ -442,6 +448,14 @@ function! gundo#GundoToggle()"{{{
call s:GundoToggle() call s:GundoToggle()
endfunction"}}} endfunction"}}}
function! gundo#GundoShow()"{{{
call s:GundoShow()
endfunction"}}}
function! gundo#GundoHide()"{{{
call s:GundoHide()
endfunction"}}}
function! gundo#GundoRenderGraph()"{{{ function! gundo#GundoRenderGraph()"{{{
call s:GundoRenderGraph() call s:GundoRenderGraph()
endfunction"}}} endfunction"}}}