summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/core/builtins/init.lua
blob: c3b3618f5111c0b19dc5c5a2977b0b8904a4a335 (plain)
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
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.lualine",
}

function M.config(config)
  for _, builtin_path in ipairs(builtins) do
    local builtin = require(builtin_path)
    builtin.config(config)
  end
end

return M