Allow moving the gadget/configuration dirs to arbitrary location
This commit is contained in:
parent
fa0171f464
commit
5837135fee
6 changed files with 106 additions and 14 deletions
|
|
@ -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__ ),
|
||||
'..',
|
||||
'..' ) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue