fix mason-nvim-dap configuration
This commit is contained in:
parent
3f7c7bab02
commit
40cc9e28a3
2 changed files with 4 additions and 17 deletions
|
@ -1,5 +1,7 @@
|
|||
local M = { "rcarriga/nvim-dap-ui" }
|
||||
|
||||
M.dependencies = { "mason-nvim-dap.nvim" }
|
||||
|
||||
M.opts = {
|
||||
floating = { border = "rounded" },
|
||||
}
|
||||
|
|
|
@ -1,26 +1,11 @@
|
|||
local M = { "jay-babu/mason-nvim-dap.nvim" }
|
||||
|
||||
M.dependencies = { "mason.nvim" }
|
||||
M.dependencies = { "mason.nvim", "nvim-dap" }
|
||||
|
||||
M.cmd = { "DapInstall", "DapUninstall" }
|
||||
|
||||
M.opts = {
|
||||
-- handlers = {
|
||||
-- function(config)
|
||||
-- require('mason-nvim-dap').default_setup(config)
|
||||
-- end,
|
||||
-- python = function(config)
|
||||
-- config.adapters = {
|
||||
-- type = "executable",
|
||||
-- command = "/usr/bin/python3",
|
||||
-- args = {
|
||||
-- "-m",
|
||||
-- "debugpy.adapter",
|
||||
-- },
|
||||
-- }
|
||||
-- require('mason-nvim-dap').default_setup(config) -- don't forget this!
|
||||
-- end,
|
||||
-- },
|
||||
handlers = {}
|
||||
}
|
||||
|
||||
return M
|
||||
|
|
Loading…
Add table
Reference in a new issue