Allow setting the value via the api

This commit is contained in:
Ben Jackson 2021-02-25 21:52:27 +00:00
commit 804b499286
4 changed files with 14 additions and 8 deletions

View file

@ -129,6 +129,7 @@ augroup VimspectorUserAutoCmds
autocmd user VimspectorDebugEnded silent
augroup END
" FIXME: Only register this _while_ debugging is active
augroup Vimspector
autocmd!
autocmd BufNew * call vimspector#OnBufferCreated( expand( '<afile>' ) )