diff options
author | christianchiarulli <[email protected]> | 2021-07-31 18:36:51 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-07-31 18:36:51 -0400 |
commit | 915603ed074bf5fe784b95508ad80a81eee24028 (patch) | |
tree | e91508a4f741e9cf319ca1a52b0b08e1eca7c252 /lua/spacegray/init.lua | |
parent | 2b09dbf0984e836255a294d746159a68bdeb9be8 (diff) |
udpate colorscheme
Diffstat (limited to 'lua/spacegray/init.lua')
-rw-r--r-- | lua/spacegray/init.lua | 52 |
1 files changed, 33 insertions, 19 deletions
diff --git a/lua/spacegray/init.lua b/lua/spacegray/init.lua index 8da13a06..70d57bda 100644 --- a/lua/spacegray/init.lua +++ b/lua/spacegray/init.lua @@ -1,30 +1,44 @@ -vim.api.nvim_command "hi clear" -if vim.fn.exists "syntax_on" then - vim.api.nvim_command "syntax reset" +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 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 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, + highlights, Treesitter, markdown, Whichkey, Git, LSP } for _, skeleton in ipairs(skeletons) do - util.initialise(skeleton) + util.initialise(skeleton) end + +async:send()
\ No newline at end of file |