From de22f534f29db59c39b7aeb6d706a8dcf7da3eea Mon Sep 17 00:00:00 2001 From: Rikuoh Date: Wed, 29 Nov 2023 10:24:18 +0900 Subject: [PATCH] fix --- init.lua | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index b34e0a6..52d9357 100644 --- a/init.lua +++ b/init.lua @@ -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({