aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelte Fennema <github-tech@jeltef.nl>2019-12-22 04:45:11 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-12-22 04:45:11 +0100
commitc60f656839304a4217117d3f3e28402f292bf069 (patch)
treef87971dbfd9983ef7eeaf5fdd469119b39a2a5c1
parent64248e64a0d49d6781e2ab22d00f4155981a5c98 (diff)
downloadrneovim-c60f656839304a4217117d3f3e28402f292bf069.tar.gz
rneovim-c60f656839304a4217117d3f3e28402f292bf069.tar.bz2
rneovim-c60f656839304a4217117d3f3e28402f292bf069.zip
termdebug.vim: Comment out Winbar related things #11552
-rw-r--r--runtime/pack/dist/opt/termdebug/plugin/termdebug.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
index b9fc77dc37..7a757ef7d6 100644
--- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
+++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
@@ -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