This commit is contained in:
Rikuoh Tsujitani 2023-11-29 14:50:50 +09:00
parent de22f534f2
commit d173ffccee
Signed by: riq0h
GPG key ID: 010F09DEA298C717

View file

@ -152,9 +152,9 @@ require("lazy").setup({
{ "nvimtools/none-ls.nvim", event = "LspAttach" }, { "nvimtools/none-ls.nvim", event = "LspAttach" },
{ "mfussenegger/nvim-dap", event = "LspAttach" }, { "mfussenegger/nvim-dap", event = "LspAttach" },
{ "rcarriga/nvim-dap-ui", event = "LspAttach" }, { "rcarriga/nvim-dap-ui", event = "LspAttach" },
{ "suketa/nvim-dap-ruby", config = true, event = "LspAttach" }, { "suketa/nvim-dap-ruby", config = true, ft = "ruby" },
{ "leoluz/nvim-dap-go", config = true, event = "LspAttach" }, { "leoluz/nvim-dap-go", config = true, ft = "go" },
{ "mfussenegger/nvim-dap-python", config = true, event = "LspAttach" }, { "mfussenegger/nvim-dap-python", config = true, ft = "python" },
{ "nvimdev/lspsaga.nvim", event = "LspAttach" }, { "nvimdev/lspsaga.nvim", event = "LspAttach" },
{ "is0n/jaq-nvim", event = "LspAttach" }, { "is0n/jaq-nvim", event = "LspAttach" },
{ "j-hui/fidget.nvim", config = true, event = "LspAttach" }, { "j-hui/fidget.nvim", config = true, event = "LspAttach" },
@ -379,22 +379,7 @@ 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({