fixup! Send an event before leave buffer in window

This commit is contained in:
__ 2021-02-06 14:50:01 +01:00 committed by Ben Jackson
commit 716181e056

View file

@ -83,7 +83,7 @@ def OpenFileInCurrentWindow( file_name ):
vim.current.buffer = vim.buffers[ buffer_number ]
vim.current.buffer.vars["vimspectorStep"] = 1
vim.command( 'doautocmd <nomodeline> User VimspectorFrameWasSet' )
vim.command( 'doautocmd <nomodeline> User VimspectorFrameEnter' )
except vim.error as e:
if 'E325' not in str( e ):
raise