From: Samir Benmendil Date: Mon, 27 Oct 2025 22:10:49 +0000 (+0000) Subject: nvim: use debugpy from path rather than mason X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/3290e9b5ae19c16b1ea190ed5b3b313beafa6fbf?hp=52f92ef2a0a92d86740209aa79b3a2cbb3df763d nvim: use debugpy from path rather than mason --- 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,