]> git.rmz.io Git - dotfiles.git/commitdiff
nvim: use debugpy from path rather than mason
authorSamir Benmendil <me@rmz.io>
Mon, 27 Oct 2025 22:10:49 +0000 (22:10 +0000)
committerSamir Benmendil <me@rmz.io>
Mon, 27 Oct 2025 22:10:49 +0000 (22:10 +0000)
nvim/lua/plugins/lang/python.lua

index ab0ad79c870167c58ceb0390e8bb819e206c4997..48617672d9e5075d120266e10d5972219ebe49b4 100644 (file)
@@ -51,18 +51,6 @@ return {
         { "<leader>dPt", function() require('dap-python').test_method() end, desc = "Debug Method", ft = "python" },
         { "<leader>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,