From 2252a2bf02f9dce2fa96c83effa94ebff8ea4995 Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Wed, 15 Jan 2020 21:44:41 +0000 Subject: [PATCH] Delete the watches and vars buffers when resetting --- python3/vimspector/variables.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python3/vimspector/variables.py b/python3/vimspector/variables.py index f0ff99e..759abdf 100644 --- a/python3/vimspector/variables.py +++ b/python3/vimspector/variables.py @@ -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