mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 00:25:47 +02:00
add: auto on dap if c++ true
This commit is contained in:
parent
d3b57e0fa6
commit
e3ebfb7a5b
2 changed files with 9 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
local M = {}
|
||||
if pcode.nvim_dap then
|
||||
if pcode.nvim_dap or pcode.active_cpp_config then
|
||||
M = {
|
||||
{
|
||||
"rcarriga/nvim-dap-ui",
|
||||
|
|
|
@ -101,14 +101,14 @@ if pcode.active_python_config then
|
|||
end
|
||||
end
|
||||
-- run if cpp config true
|
||||
if pcode.active_cpp_config then
|
||||
-- table.insert(pcode.treesitter_ensure_installed, "cpp")
|
||||
-- table.insert(pcode.treesitter_ensure_installed, "c")
|
||||
-- table.insert(pcode.mason_ensure_installed, "clangd")
|
||||
-- table.insert(pcode.null_ls_ensure_installed, "clang_format")
|
||||
-- table.insert(pcode.dap_ensure_installed, "codelldb")
|
||||
pcode.nvim_dap = true
|
||||
end
|
||||
-- if pcode.active_cpp_config then
|
||||
-- table.insert(pcode.treesitter_ensure_installed, "cpp")
|
||||
-- table.insert(pcode.treesitter_ensure_installed, "c")
|
||||
-- table.insert(pcode.mason_ensure_installed, "clangd")
|
||||
-- table.insert(pcode.null_ls_ensure_installed, "clang_format")
|
||||
-- table.insert(pcode.dap_ensure_installed, "codelldb")
|
||||
-- pcode.nvim_dap = true
|
||||
-- end
|
||||
-- run if java config true
|
||||
-- if pcode.active_java_config.active and pcode.active_java_config.use_nvim_jdtls then
|
||||
-- table.insert(pcode.treesitter_ensure_installed, "java")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue