fix
This commit is contained in:
parent
d0321e057a
commit
de22f534f2
1 changed files with 16 additions and 1 deletions
17
init.lua
17
init.lua
|
@ -379,7 +379,22 @@ require("mason-null-ls").setup({
|
||||||
})
|
})
|
||||||
require("mason-nvim-dap").setup({
|
require("mason-nvim-dap").setup({
|
||||||
ensure_installed = {},
|
ensure_installed = {},
|
||||||
handlers = {},
|
handlers = {
|
||||||
|
function(config)
|
||||||
|
require("mason-nvim-dap").default_setup(config)
|
||||||
|
end,
|
||||||
|
python = function(config)
|
||||||
|
config.adapters = {
|
||||||
|
type = "executable",
|
||||||
|
command = "/usr/bin/python3.11",
|
||||||
|
args = {
|
||||||
|
"-m",
|
||||||
|
"debugpy.adapter",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
require("mason-nvim-dap").default_setup(config)
|
||||||
|
end,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
require("mason-lspconfig").setup()
|
require("mason-lspconfig").setup()
|
||||||
require("mason-lspconfig").setup_handlers({
|
require("mason-lspconfig").setup_handlers({
|
||||||
|
|
Loading…
Reference in a new issue