From 3290e9b5ae19c16b1ea190ed5b3b313beafa6fbf Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Mon, 27 Oct 2025 22:10:49 +0000 Subject: [PATCH] nvim: use debugpy from path rather than mason --- nvim/lua/plugins/lang/python.lua | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/nvim/lua/plugins/lang/python.lua b/nvim/lua/plugins/lang/python.lua index ab0ad79..4861767 100644 --- a/nvim/lua/plugins/lang/python.lua +++ b/nvim/lua/plugins/lang/python.lua @@ -51,18 +51,6 @@ return { { "dPt", function() require('dap-python').test_method() end, desc = "Debug Method", ft = "python" }, { "dPc", function() require('dap-python').test_class() end, desc = "Debug Class", ft = "python" }, }, - config = function() - local path = require("mason-registry").get_package("debugpy"):get_install_path() - require("dap-python").setup(path .. "/venv/bin/python") - end, - }, - }, - { "jay-babu/mason-nvim-dap.nvim", - opts = { - handlers = { - python = function() end, - }, - ensure_installed = { "python" }, }, }, { "linux-cultist/venv-selector.nvim", enabled = false, -- 2.50.1