Set the code window to the current buffer

This commit is contained in:
Ben Jackson 2020-02-16 22:49:15 +00:00
commit c4bedcee89
2 changed files with 8 additions and 2 deletions

View file

@ -445,11 +445,15 @@ class DebugSession( object ):
def _SetUpUI( self ):
original_window = vim.current.window
vim.command( 'tabnew' )
self._uiTab = vim.current.tabpage
# Code window
self._codeView = code.CodeView( vim.current.window, self._api_prefix )
self._codeView = code.CodeView( vim.current.window,
original_window,
self._api_prefix )
# Call stack
with utils.TemporaryVimOptions( { 'splitright': False,