init.lua 772 B

1234567891011121314151617181920212223242526272829303132
  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 Git = require "onedarker.Git"
  16. local LSP = require "onedarker.LSP"
  17. local diff = require "onedarker.diff"
  18. local skeletons = {
  19. highlights,
  20. Treesitter,
  21. markdown,
  22. Whichkey,
  23. Git,
  24. LSP,
  25. diff,
  26. }
  27. for _, skeleton in ipairs(skeletons) do
  28. util.initialise(skeleton)
  29. end