init.lua 824 B

12345678910111213141516171819202122232425262728293031323334
  1. vim.api.nvim_command "hi clear"
  2. if vim.fn.exists "syntax_on" then
  3. vim.api.nvim_command "syntax reset"
  4. end
  5. vim.o.background = "dark"
  6. vim.o.termguicolors = true
  7. vim.g.colors_name = "onedarker"
  8. local util = require "onedarker.util"
  9. Config = require "onedarker.config"
  10. C = require "onedarker.palette"
  11. local highlights = require "onedarker.highlights"
  12. local Treesitter = require "onedarker.Treesitter"
  13. local markdown = require "onedarker.markdown"
  14. local Whichkey = require "onedarker.Whichkey"
  15. local Notify = require "onedarker.Notify"
  16. local Git = require "onedarker.Git"
  17. local LSP = require "onedarker.LSP"
  18. local diff = require "onedarker.diff"
  19. local skeletons = {
  20. highlights,
  21. Treesitter,
  22. markdown,
  23. Whichkey,
  24. Notify,
  25. Git,
  26. LSP,
  27. diff,
  28. }
  29. for _, skeleton in ipairs(skeletons) do
  30. util.initialise(skeleton)
  31. end