diff --git a/autoload/vebugger.vim b/autoload/vebugger.vim index 5d478ef..b305211 100644 --- a/autoload/vebugger.vim +++ b/autoload/vebugger.vim @@ -94,7 +94,7 @@ function! s:f_debugger.showLogBuffer() dict setlocal buftype=nofile setlocal bufhidden=wipe let self.logBuffer=bufnr('') - file Vebugger\ Console + silent file Vebugger\ Console wincmd p endfunction @@ -109,6 +109,23 @@ function! s:f_debugger.closeLogBuffer() dict endif endfunction +function! s:f_debugger.isLogBufferOpen() dict + if has_key(self,'logBuffer') + if -1