enc: auto install cpp dap

This commit is contained in:
asep.komarudin 2024-06-22 20:51:09 +07:00
parent a7933afc34
commit d352202bcf
3 changed files with 16 additions and 16 deletions

View file

@ -3,21 +3,21 @@ local M = {}
-- local file_name_no_ext = vim.fn.expand("%:t:r")
if pcode.active_cpp_config then
M = {
{
"jay-babu/mason-nvim-dap.nvim",
dependencies = {
"mfussenegger/nvim-dap",
},
ft = "cpp",
config = function()
require("mason-nvim-dap").setup({
automatic_installation = true,
automatic_setup = true,
handlers = {},
ensure_installed = { "codelldb" },
})
end,
},
-- {
-- "jay-babu/mason-nvim-dap.nvim",
-- dependencies = {
-- "mfussenegger/nvim-dap",
-- },
-- ft = "cpp",
-- config = function()
-- require("mason-nvim-dap").setup({
-- automatic_installation = true,
-- automatic_setup = true,
-- handlers = {},
-- ensure_installed = { "codelldb" },
-- })
-- end,
-- },
{
"nvim-neotest/neotest",
event = "VeryLazy",