This commit is contained in:
Rikuoh Tsujitani 2023-11-29 10:24:18 +09:00
parent d0321e057a
commit de22f534f2
Signed by: riq0h
GPG key ID: 010F09DEA298C717

View file

@ -379,7 +379,22 @@ require("mason-null-ls").setup({
})
require("mason-nvim-dap").setup({
ensure_installed = {},
handlers = {},
handlers = {
function(config)
require("mason-nvim-dap").default_setup(config)
end,
python = function(config)
config.adapters = {
type = "executable",
command = "/usr/bin/python3.11",
args = {
"-m",
"debugpy.adapter",
},
}
require("mason-nvim-dap").default_setup(config)
end,
},
})
require("mason-lspconfig").setup()
require("mason-lspconfig").setup_handlers({