mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 08:53:31 +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 = {}
|
local M = {}
|
||||||
if pcode.nvim_dap then
|
if pcode.nvim_dap or pcode.active_cpp_config then
|
||||||
M = {
|
M = {
|
||||||
{
|
{
|
||||||
"rcarriga/nvim-dap-ui",
|
"rcarriga/nvim-dap-ui",
|
||||||
|
|
|
@ -101,14 +101,14 @@ if pcode.active_python_config then
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
-- run if cpp config true
|
-- run if cpp config true
|
||||||
if pcode.active_cpp_config then
|
-- if pcode.active_cpp_config then
|
||||||
-- table.insert(pcode.treesitter_ensure_installed, "cpp")
|
-- table.insert(pcode.treesitter_ensure_installed, "cpp")
|
||||||
-- table.insert(pcode.treesitter_ensure_installed, "c")
|
-- table.insert(pcode.treesitter_ensure_installed, "c")
|
||||||
-- table.insert(pcode.mason_ensure_installed, "clangd")
|
-- table.insert(pcode.mason_ensure_installed, "clangd")
|
||||||
-- table.insert(pcode.null_ls_ensure_installed, "clang_format")
|
-- table.insert(pcode.null_ls_ensure_installed, "clang_format")
|
||||||
-- table.insert(pcode.dap_ensure_installed, "codelldb")
|
-- table.insert(pcode.dap_ensure_installed, "codelldb")
|
||||||
pcode.nvim_dap = true
|
-- pcode.nvim_dap = true
|
||||||
end
|
-- end
|
||||||
-- run if java config true
|
-- run if java config true
|
||||||
-- if pcode.active_java_config.active and pcode.active_java_config.use_nvim_jdtls then
|
-- if pcode.active_java_config.active and pcode.active_java_config.use_nvim_jdtls then
|
||||||
-- table.insert(pcode.treesitter_ensure_installed, "java")
|
-- table.insert(pcode.treesitter_ensure_installed, "java")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue