init.lua 878 B

1234567891011121314151617181920212223242526272829303132333435
  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. require("plugin-config.noice")
  27. -- 内置LSP (新增)
  28. require("lsp.setup")
  29. require("lsp.config.mason")
  30. require("lsp.config.lspconfig")
  31. require("lsp.cmp")
  32. -- formatter
  33. require("formatter.setup")
  34. -- snip
  35. require("cmp.setup")