Allow moving the gadget/configuration dirs to arbitrary location

This commit is contained in:
Ben Jackson 2020-05-09 15:22:42 +01:00
commit 5837135fee
6 changed files with 106 additions and 14 deletions

View file

@ -563,3 +563,12 @@ def HideSplash( api_prefix, splash ):
Call( f'vimspector#internal#{api_prefix}popup#HideSplash', splash )
return None
def GetVimspectorBase():
try:
return vim.vars[ 'vimspector_base_dir' ].decode( 'utf-8' )
except KeyError:
return os.path.abspath( os.path.join( os.path.dirname( __file__ ),
'..',
'..' ) )