init.lua 474 B

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