fix(python): ensure debugpy installed if using nvim-dap

This commit is contained in:
roc 2023-09-13 22:04:07 +08:00
parent a72a84972d
commit d073ece621

View file

@ -46,6 +46,14 @@ return {
"mfussenegger/nvim-dap",
optional = true,
dependencies = {
{
"mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "debugpy" })
end,
},
{
"mfussenegger/nvim-dap-python",
-- stylua: ignore
keys = {
@ -58,6 +66,7 @@ return {
end,
},
},
},
{
"linux-cultist/venv-selector.nvim",
cmd = "VenvSelect",