vimspector/python3
Allan Guigou 47c404f823 Allow a gadget to specify a custom extension path
When installing a custom gadget not officially supported by vimspector the
default extension path is 'extension', this works for vscode extensions but
does not support some debug adapters. This commit gives the ability to change
that default extension path by specifying 'extension_path' within the gadget
installer file.

Installing 'cust_adapter' would use the extension path 'adapter' rather
than 'extension' (ie ${gadgetDir}/cust_adapter/${version}/root/adapter)

{
  "cust_adapter": {
    "download": { ... },
    "all": {
      "extension_path": "adapter",
      "adapters": { ... }
    }
  }
}
2020-12-24 14:55:40 -05:00
..
vimspector Allow a gadget to specify a custom extension path 2020-12-24 14:55:40 -05:00