2021-07-15 16:47:47 +01:00
|
|
|
-- load all options
|
2021-07-09 04:44:04 +01:00
|
|
|
require "options"
|
2021-03-12 07:04:15 +00:00
|
|
|
|
2021-07-15 16:47:47 +01:00
|
|
|
-- only try to load stuff if atleast base16 is initialized
|
|
|
|
-- TODO: Find a better way to trigger PackerSync
|
|
|
|
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 08:35:54 +01:00
|
|
|
|
2021-07-15 16:47:47 +01:00
|
|
|
async:close()
|
|
|
|
end
|
|
|
|
)
|
|
|
|
)
|
|
|
|
async:send()
|
|
|
|
else
|
|
|
|
-- otherwise run packer sync
|
|
|
|
require "pluginList"
|
|
|
|
print("Now PackerSync will be executed, after completion, restart neovim.\n")
|
|
|
|
vim.cmd("PackerSync")
|
|
|
|
end
|