diff options
author | christianchiarulli <[email protected]> | 2021-08-11 16:33:41 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-08-11 16:33:41 -0400 |
commit | 83013c0d4f1467f546c38719c61909decfcb8151 (patch) | |
tree | 143773ea73c64d953db699e6e621926e44653fc2 /lua/spacegray/init.lua | |
parent | f6407e0bdb9c2875bc8f186929ce183af391b2a9 (diff) | |
parent | 5a7630cac761e91335d2f25cb07a81271569c791 (diff) |
Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim
Diffstat (limited to 'lua/spacegray/init.lua')
-rw-r--r-- | lua/spacegray/init.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/spacegray/init.lua b/lua/spacegray/init.lua index 8da13a06..9ae24dbb 100644 --- a/lua/spacegray/init.lua +++ b/lua/spacegray/init.lua @@ -9,6 +9,17 @@ 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" @@ -28,3 +39,5 @@ local skeletons = { for _, skeleton in ipairs(skeletons) do util.initialise(skeleton) end + +async:send() |