Name the buffers so it's clearer what they do

This actually restricts us to a single debugging pane, but that's really
already a restriction of the vim-side (only one job, etc.). Support for
multiple sessions isn't a priority.
This commit is contained in:
Ben Jackson 2018-05-27 18:34:39 +01:00
commit 7e76c9763d
4 changed files with 8 additions and 7 deletions

View file

@ -24,7 +24,7 @@ class StackTraceView( object ):
self._session = session
self._connection = connection
utils.SetUpScratchBuffer( self._buf )
utils.SetUpScratchBuffer( self._buf, 'vimspector.StackTrace' )
vim.current.buffer = self._buf
vim.command( 'nnoremap <buffer> <CR> :call vimspector#GoToFrame()<CR>' )