Put the watches between the vars and the scopes
This commit is contained in:
parent
fa775f4499
commit
040746409b
1 changed files with 14 additions and 13 deletions
|
|
@ -272,21 +272,22 @@ class DebugSession( object ):
|
||||||
self._connection,
|
self._connection,
|
||||||
vim.current.buffer )
|
vim.current.buffer )
|
||||||
|
|
||||||
with utils.TemporaryVimOption( 'eadirection', 'ver' ):
|
with utils.TemporaryVimOption( 'splitbelow', False ):
|
||||||
with utils.TemporaryVimOption( 'equalalways', 1 ):
|
with utils.TemporaryVimOption( 'eadirection', 'ver' ):
|
||||||
# Variables
|
with utils.TemporaryVimOption( 'equalalways', 1 ):
|
||||||
vim.command( 'spl' )
|
# Watches
|
||||||
vim.command( 'enew' )
|
vim.command( 'spl' )
|
||||||
vars_win = vim.current.window
|
vim.command( 'enew' )
|
||||||
|
watch_win = vim.current.window
|
||||||
|
|
||||||
# Watches
|
# Variables
|
||||||
vim.command( 'spl' )
|
vim.command( 'spl' )
|
||||||
vim.command( 'enew' )
|
vim.command( 'enew' )
|
||||||
watch_win = vim.current.window
|
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 )
|
||||||
|
|
||||||
|
|
||||||
with utils.TemporaryVimOption( 'splitbelow', True ):
|
with utils.TemporaryVimOption( 'splitbelow', True ):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue