refactor: refactored mason/typescript/vue support

This commit is contained in:
Folke Lemaitre 2024-06-01 08:31:10 +02:00
parent 135150307b
commit 9d999fa210
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
6 changed files with 70 additions and 37 deletions

View file

@ -106,8 +106,7 @@ return {
{ "<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")
require("dap-python").setup(LazyVim.get_pkg_path("debugpy", "/venv/bin/python"))
end,
},
},