enc: cpp global config

This commit is contained in:
asep.komarudin 2024-06-22 20:22:21 +07:00
parent bdd33afd27
commit 9a3c7cd78b
4 changed files with 49 additions and 7 deletions

View file

@ -74,4 +74,11 @@ if pcode.active_python_config then
pcode.nvim_dap = true
end
end
-- run if cpp config true
if pcode.active_cpp_config then
table.insert(pcode.treesitter_ensure_installed, "cpp")
table.insert(pcode.mason_ensure_installed, "clangd")
table.insert(pcode.null_ls_ensure_installed, "clang_format")
pcode.nvim_dap = true
end
return {}