Delete the watches and vars buffers when resetting

This commit is contained in:
Ben Jackson 2020-01-15 21:44:41 +00:00
commit 2252a2bf02

View file

@ -105,6 +105,9 @@ class VariablesView( object ):
for k, v in self._oldoptions.items():
vim.options[ k ] = v
vim.command( 'bdelete! ' + str( self._watch.win.buffer.number ) )
vim.command( 'bdelete! ' + str( self._vars.win.buffer.number ) )
def LoadScopes( self, frame ):
def scopes_consumer( message ):
old_scopes = self._scopes