init.lua 847 B

12345678910111213141516171819202122232425262728293031323334
  1. -- 基础配置
  2. require("basic")
  3. -- 键盘设置
  4. require("keybindings")
  5. -- 插件
  6. require("plugins")
  7. -- 主题设置
  8. require("colorscheme")
  9. -- 自动命令
  10. require("autocmd")
  11. require("ui")
  12. require("util.im-select")
  13. -- 插件配置
  14. require("plugin-config.lualine")
  15. require("plugin-config.nvim-tree")
  16. require("plugin-config.dashboard")
  17. require("plugin-config.project")
  18. require("plugin-config.nvim-treesitter")
  19. require("plugin-config.prettier")
  20. require("plugin-config.null-ls")
  21. require("plugin-config.gitsigns")
  22. require("plugin-config.eslint")
  23. require("plugin-config.indent-blankline")
  24. require("plugin-config.nvim-notify")
  25. require("plugin-config.colorizer")
  26. -- 内置LSP (新增)
  27. require("lsp.setup")
  28. require("lsp.config.mason")
  29. require("lsp.config.lspconfig")
  30. require("lsp.cmp")
  31. -- formatter
  32. require("formatter.setup")
  33. -- snip
  34. require("cmp.setup")