1
0
Fork 0

fix mason-nvim-dap configuration

This commit is contained in:
Luca Bilke 2024-03-10 12:49:30 +01:00
commit 40cc9e28a3
2 changed files with 4 additions and 17 deletions
.config/nvim/lua/plugins/dap

View file

@ -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" },
} }

View file

@ -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