LunarVim/lua/spacegray/init.lua

44 lines
975 B
Lua
Raw Normal View History

2021-08-01 00:36:51 +02:00
vim.api.nvim_command("hi clear")
if vim.fn.exists("syntax_on") then
vim.api.nvim_command("syntax reset")
2021-07-12 18:51:49 +02:00
end
vim.o.background = "dark"
vim.o.termguicolors = true
vim.g.colors_name = "spacegray"
2021-08-01 00:36:51 +02:00
local util = require("spacegray.util")
Config = require("spacegray.config")
C = require("spacegray.palette")
local async
async = vim.loop.new_async(vim.schedule_wrap(function ()
local skeletons = {
}
for _, skeleton in ipairs(skeletons) do
util.initialise(skeleton)
end
async:close()
end))
local highlights = require("spacegray.highlights")
local Treesitter = require("spacegray.Treesitter")
local markdown = require("spacegray.markdown")
local Whichkey = require("spacegray.Whichkey")
local Git = require("spacegray.Git")
local LSP = require("spacegray.LSP")
2021-07-12 18:51:49 +02:00
local skeletons = {
2021-08-01 00:36:51 +02:00
highlights, Treesitter, markdown, Whichkey, Git, LSP
2021-07-12 18:51:49 +02:00
}
for _, skeleton in ipairs(skeletons) do
2021-08-01 00:36:51 +02:00
util.initialise(skeleton)
2021-07-15 03:21:16 +02:00
end
2021-08-01 00:36:51 +02:00
async:send()