termdebug.vim: Comment out Winbar related things #11552

This commit is contained in:
Jelte Fennema 2019-12-22 04:45:11 +01:00 committed by Justin M. Keyes
parent 64248e64a0
commit c60f656839
1 changed files with 5 additions and 5 deletions

View File

@ -442,7 +442,7 @@ func s:InstallCommands()
command Gdb call win_gotoid(s:gdbwin)
command Program call win_gotoid(s:ptywin)
command Source call s:GotoSourcewinOrCreateIt()
command Winbar call s:InstallWinbar()
" command Winbar call s:InstallWinbar()
" TODO: can the K mapping be restored?
nnoremap K :Evaluate<CR>
@ -450,7 +450,7 @@ func s:InstallCommands()
let &cpo = save_cpo
endfunc
let s:winbar_winids = []
" let s:winbar_winids = []
" Delete installed debugger commands in the current window.
func s:DeleteCommands()
@ -467,7 +467,7 @@ func s:DeleteCommands()
delcommand Gdb
delcommand Program
delcommand Source
delcommand Winbar
" delcommand Winbar
nunmap K
@ -733,7 +733,7 @@ func s:GotoSourcewinOrCreateIt()
if !win_gotoid(s:sourcewin)
new
let s:sourcewin = win_getid(winnr())
call s:InstallWinbar()
" call s:InstallWinbar()
endif
endfunc
@ -764,7 +764,7 @@ func s:HandleCursor(msg)
" TODO: find existing window
exe 'split ' . fnameescape(fname)
let s:sourcewin = win_getid(winnr())
call s:InstallWinbar()
" call s:InstallWinbar()
else
exe 'edit ' . fnameescape(fname)
endif