From 9240d26985c12b8363ce5577948cc04d31e127aa Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Wed, 21 May 2025 18:48:49 +0200 Subject: [PATCH] [neovim] Update deprecated code --- .config/nvim/lua/plugins/dap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/dap.lua b/.config/nvim/lua/plugins/dap.lua index cb20652..445db80 100644 --- a/.config/nvim/lua/plugins/dap.lua +++ b/.config/nvim/lua/plugins/dap.lua @@ -1,7 +1,7 @@ local dap = require("dap") local dapui = require("dapui") -local debugpyPythonPath = require("mason-registry").get_package("debugpy"):get_install_path() .. "/venv/bin/python3" +local debugpyPythonPath = vim.fn.exepath("debugpy") .. "/venv/bin/python3" require("dap-python").setup(debugpyPythonPath, {}) dapui.setup({