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:
Ben Jackson 2018-05-27 18:34:39 +01:00
commit 7e76c9763d
4 changed files with 8 additions and 7 deletions

View file

@ -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' )