mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 08:53:31 +02:00
add: auto install cpp dap
This commit is contained in:
parent
9a3c7cd78b
commit
a7933afc34
2 changed files with 16 additions and 0 deletions
|
@ -78,6 +78,7 @@ pcode.null_ls_ensure_installed = {
|
||||||
-- atau gunakan :MasonInstall
|
-- atau gunakan :MasonInstall
|
||||||
pcode.dap_ensure_installed = {
|
pcode.dap_ensure_installed = {
|
||||||
-- "python",
|
-- "python",
|
||||||
|
"codelldb",
|
||||||
}
|
}
|
||||||
|
|
||||||
-- https://github.com/folke/which-key.nvim
|
-- https://github.com/folke/which-key.nvim
|
||||||
|
|
|
@ -3,6 +3,21 @@ local M = {}
|
||||||
-- local file_name_no_ext = vim.fn.expand("%:t:r")
|
-- local file_name_no_ext = vim.fn.expand("%:t:r")
|
||||||
if pcode.active_cpp_config then
|
if pcode.active_cpp_config then
|
||||||
M = {
|
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,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"nvim-neotest/neotest",
|
"nvim-neotest/neotest",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue