1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
local M = {}
local builtins = {
"keymappings",
"core.which-key",
"core.gitsigns",
"core.cmp",
"core.dashboard",
"core.dap",
"core.terminal",
"core.telescope",
"core.treesitter",
"core.nvimtree",
"core.project",
"core.bufferline",
"core.autopairs",
"core.comment",
"core.lspinstall",
"core.lualine",
}
function M.config(config)
for _, builtin_path in ipairs(builtins) do
local builtin = require(builtin_path)
builtin.config(config)
end
end
return M
|