Don't create a new buffer when opening the vimspector tab
This commit is contained in:
parent
03d97dc58f
commit
8664c0ad78
2 changed files with 2 additions and 10 deletions
|
|
@ -22,7 +22,7 @@ from vimspector import utils
|
|||
|
||||
|
||||
class CodeView( object ):
|
||||
def __init__( self, window, original_window, api_prefix ):
|
||||
def __init__( self, window, api_prefix ):
|
||||
self._window = window
|
||||
self._api_prefix = api_prefix
|
||||
|
||||
|
|
@ -42,7 +42,6 @@ class CodeView( object ):
|
|||
|
||||
|
||||
with utils.LetCurrentWindow( self._window ):
|
||||
vim.current.buffer = original_window.buffer
|
||||
vim.command( 'nnoremenu WinBar.Continue :call vimspector#Continue()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.Next :call vimspector#StepOver()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.Step :call vimspector#StepInto()<CR>' )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue