Don't create a new buffer when opening the vimspector tab

This commit is contained in:
Ben Jackson 2020-03-26 21:13:04 +00:00
commit 8664c0ad78
2 changed files with 2 additions and 10 deletions

View file

@ -150,10 +150,6 @@ class DebugSession( object ):
adapter = adapter_dict
# TODO: Do we want some form of persistence ? e.g. self._staticVariables,
# set from an api call like SetLaunchParam( 'var', 'value' ), perhaps also a
# way to load .vimspector.local.json which just sets variables
#
# Additional vars as defined by VSCode:
#
# ${workspaceFolder} - the path of the folder opened in VS Code
@ -457,14 +453,11 @@ class DebugSession( object ):
def _SetUpUI( self ):
original_window = vim.current.window
vim.command( 'tabnew' )
vim.command( 'tabedit %' )
self._uiTab = vim.current.tabpage
# Code window
self._codeView = code.CodeView( vim.current.window,
original_window,
self._api_prefix )
# Call stack