diff options
author | Luc Sinet <[email protected]> | 2021-08-01 12:02:19 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-01 10:02:19 +0000 |
commit | 341a17daa60562f553e41c4c6792a6c917d8d9ef (patch) | |
tree | 4dc4703c55b27d097756fb170b51e22c475f5d6c /lua/spacegray/init.lua | |
parent | e2dd993ce753f8d28e6c32c4697ba51cc8ace2bb (diff) |
Fix formatting issues (#1200)
Diffstat (limited to 'lua/spacegray/init.lua')
-rw-r--r-- | lua/spacegray/init.lua | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/lua/spacegray/init.lua b/lua/spacegray/init.lua index 70d57bda..9ae24dbb 100644 --- a/lua/spacegray/init.lua +++ b/lua/spacegray/init.lua @@ -1,44 +1,43 @@ -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 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 = vim.loop.new_async(vim.schedule_wrap(function() + local skeletons = {} + for _, skeleton in ipairs(skeletons) do + util.initialise(skeleton) + end - async:close() + 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 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 +async:send() |