-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathsource.lua
31 lines (27 loc) · 861 Bytes
/
source.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
local _ = require('mason-core.functional')
local M = {}
---Maps nvim_dap adapter name to its corresponding package name.
M.nvim_dap_to_package = {
['python'] = 'debugpy',
['cppdbg'] = 'cpptools',
['delve'] = 'delve',
['node2'] = 'node-debug2-adapter',
['chrome'] = 'chrome-debug-adapter',
['firefox'] = 'firefox-debug-adapter',
['php'] = 'php-debug-adapter',
['coreclr'] = 'netcoredbg',
['js'] = 'js-debug-adapter',
['codelldb'] = 'codelldb',
['bash'] = 'bash-debug-adapter',
['javadbg'] = 'java-debug-adapter',
['javatest'] = 'java-test',
['mock'] = 'mockdebug',
['puppet'] = 'puppet-editor-services',
['elixir'] = 'elixir-ls',
['kotlin'] = 'kotlin-debug-adapter',
['dart'] = 'dart-debug-adapter',
['haskell'] = 'haskell-debug-adapter',
['erlang'] = 'erlang-debugger',
}
M.package_to_nvim_dap = _.invert(M.nvim_dap_to_package)
return M