blob: 70d57bdacae77f52a779855a09df9dbf505d1549 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
vim.api.nvim_command("hi clear")
if vim.fn.exists("syntax_on") then
vim.api.nvim_command("syntax reset")
end
vim.o.background = "dark"
vim.o.termguicolors = true
vim.g.colors_name = "spacegray"
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")
local skeletons = {
highlights, Treesitter, markdown, Whichkey, Git, LSP
}
for _, skeleton in ipairs(skeletons) do
util.initialise(skeleton)
end
async:send()
|