--- a/autoload/gundo.vim Sat Apr 21 14:37:24 2012 +0100
+++ b/autoload/gundo.vim Sat Jun 02 17:20:52 2012 -0400
@@ -322,11 +322,17 @@
endfunction"}}}
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"}}}
function! s:GundoHide()"{{{
- call s:GundoClose()
+ if s:GundoIsVisible()
+ call s:GundoClose()
+ endif
endfunction"}}}
"}}}
@@ -442,6 +448,14 @@
call s:GundoToggle()
endfunction"}}}
+function! gundo#GundoShow()"{{{
+ call s:GundoShow()
+endfunction"}}}
+
+function! gundo#GundoHide()"{{{
+ call s:GundoHide()
+endfunction"}}}
+
function! gundo#GundoRenderGraph()"{{{
call s:GundoRenderGraph()
endfunction"}}}