Name the buffers so it's clearer what they do
This actually restricts us to a single debugging pane, but that's really already a restriction of the vim-side (only one job, etc.). Support for multiple sessions isn't a priority.
This commit is contained in:
parent
3f73d1c2f8
commit
7e76c9763d
4 changed files with 8 additions and 7 deletions
|
|
@ -200,7 +200,7 @@ class DebugSession( object ):
|
|||
vim.command( '50vspl' )
|
||||
vim.command( 'enew' )
|
||||
self._threadsBuffer = vim.current.buffer
|
||||
utils.SetUpScratchBuffer( self._threadsBuffer )
|
||||
utils.SetUpScratchBuffer( self._threadsBuffer, "vimspector.Threads" )
|
||||
|
||||
with utils.TemporaryVimOption( 'eadirection', 'ver' ):
|
||||
with utils.TemporaryVimOption( 'equalalways', 1 ):
|
||||
|
|
@ -215,7 +215,7 @@ class DebugSession( object ):
|
|||
vim.command( 'spl' )
|
||||
vim.command( 'enew' )
|
||||
self._outputBuffer = vim.current.buffer
|
||||
utils.SetUpScratchBuffer( self._outputBuffer )
|
||||
utils.SetUpScratchBuffer( self._outputBuffer, 'vimspector.Console' )
|
||||
|
||||
# Variables
|
||||
vim.command( 'spl' )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue