Start to add a test, but it's hitting deleting buffer that's in use [NULL]...
This commit is contained in:
parent
f003d66d35
commit
e7fb49f03d
5 changed files with 71 additions and 17 deletions
|
|
@ -145,9 +145,14 @@ augroup VimspectorUserAutoCmds
|
|||
augroup END
|
||||
|
||||
" FIXME: Only register this _while_ debugging is active
|
||||
let g:vimspector_resetting = 0
|
||||
augroup Vimspector
|
||||
autocmd!
|
||||
autocmd BufNew * call vimspector#OnBufferCreated( expand( '<afile>' ) )
|
||||
autocmd TabClosed *
|
||||
\ if !g:vimspector_resetting
|
||||
\ | call vimspector#internal#state#TabClosed()
|
||||
\ | endif
|
||||
augroup END
|
||||
|
||||
" boilerplate {{{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue