init.lua 733 B

1234567891011121314151617181920212223242526
  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 = "spacegray"
  8. local util = require("spacegray.util")
  9. Config = require("spacegray.config")
  10. C = require("spacegray.palette")
  11. local highlights = require("spacegray.highlights")
  12. local Treesitter = require("spacegray.Treesitter")
  13. local markdown = require("spacegray.markdown")
  14. local Whichkey = require("spacegray.Whichkey")
  15. local Git = require("spacegray.Git")
  16. local LSP = require("spacegray.LSP")
  17. local skeletons = {
  18. highlights, Treesitter, markdown, Whichkey, Git, LSP
  19. }
  20. for _, skeleton in ipairs(skeletons) do
  21. util.initialise(skeleton)
  22. end