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