fix mason-nvim-dap configuration
This commit is contained in:
parent
3f7c7bab02
commit
40cc9e28a3
2 changed files with 4 additions and 17 deletions
.config/nvim/lua/plugins/dap
|
@ -1,5 +1,7 @@
|
||||||
local M = { "rcarriga/nvim-dap-ui" }
|
local M = { "rcarriga/nvim-dap-ui" }
|
||||||
|
|
||||||
|
M.dependencies = { "mason-nvim-dap.nvim" }
|
||||||
|
|
||||||
M.opts = {
|
M.opts = {
|
||||||
floating = { border = "rounded" },
|
floating = { border = "rounded" },
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,26 +1,11 @@
|
||||||
local M = { "jay-babu/mason-nvim-dap.nvim" }
|
local M = { "jay-babu/mason-nvim-dap.nvim" }
|
||||||
|
|
||||||
M.dependencies = { "mason.nvim" }
|
M.dependencies = { "mason.nvim", "nvim-dap" }
|
||||||
|
|
||||||
M.cmd = { "DapInstall", "DapUninstall" }
|
M.cmd = { "DapInstall", "DapUninstall" }
|
||||||
|
|
||||||
M.opts = {
|
M.opts = {
|
||||||
-- handlers = {
|
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,
|
|
||||||
-- },
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue