my-nvim-setup/init.lua

28 lines
663 B
Lua
Raw Normal View History

-- load all options
2021-07-09 04:44:04 +01:00
require "options"
2021-03-12 07:04:15 +00:00
2021-07-16 18:52:36 +01:00
-- load stuff only if theme is initialized
if require "theme" then
local async
async =
vim.loop.new_async(
vim.schedule_wrap(
function()
require "pluginList"
require "plugins.bufferline"
require "highlights"
require "mappings"
require("utils").hideStuff()
async:close()
end
)
)
async:send()
else
2021-07-16 18:52:36 +01:00
-- otherwise run PackerSync
require "pluginList"
2021-07-17 09:37:27 +01:00
print("Now PackerSync will be executed, after completion, restart nvim.\n")
vim.cmd("PackerSync")
end