2021-07-15 15:47:47 +00:00
|
|
|
-- load all options
|
2021-07-09 03:44:04 +00:00
|
|
|
require "options"
|
2021-03-12 07:04:15 +00:00
|
|
|
|
2021-07-16 17:52:36 +00:00
|
|
|
-- load stuff only if theme is initialized
|
2021-07-15 15:47:47 +00:00
|
|
|
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()
|
2021-04-02 07:35:54 +00:00
|
|
|
|
2021-07-15 15:47:47 +00:00
|
|
|
async:close()
|
|
|
|
end
|
|
|
|
)
|
|
|
|
)
|
|
|
|
async:send()
|
|
|
|
else
|
2021-07-16 17:52:36 +00:00
|
|
|
-- otherwise run PackerSync
|
2021-07-15 15:47:47 +00:00
|
|
|
require "pluginList"
|
2021-07-17 08:37:27 +00:00
|
|
|
print("Now PackerSync will be executed, after completion, restart nvim.\n")
|
2021-07-15 15:47:47 +00:00
|
|
|
vim.cmd("PackerSync")
|
|
|
|
end
|