Put the watches between the vars and the scopes

This commit is contained in:
Ben Jackson 2018-06-03 00:36:46 +01:00
commit 040746409b

View file

@ -272,18 +272,19 @@ class DebugSession( object ):
self._connection, self._connection,
vim.current.buffer ) vim.current.buffer )
with utils.TemporaryVimOption( 'splitbelow', False ):
with utils.TemporaryVimOption( 'eadirection', 'ver' ): with utils.TemporaryVimOption( 'eadirection', 'ver' ):
with utils.TemporaryVimOption( 'equalalways', 1 ): with utils.TemporaryVimOption( 'equalalways', 1 ):
# Variables
vim.command( 'spl' )
vim.command( 'enew' )
vars_win = vim.current.window
# Watches # Watches
vim.command( 'spl' ) vim.command( 'spl' )
vim.command( 'enew' ) vim.command( 'enew' )
watch_win = vim.current.window watch_win = vim.current.window
# Variables
vim.command( 'spl' )
vim.command( 'enew' )
vars_win = vim.current.window
self._variablesView = variables.VariablesView( self._connection, self._variablesView = variables.VariablesView( self._connection,
vars_win, vars_win,
watch_win ) watch_win )