mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 05:20:38 +00:00
27 lines
663 B
Lua
27 lines
663 B
Lua
-- load all options
|
|
require "options"
|
|
|
|
-- 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
|
|
-- otherwise run PackerSync
|
|
require "pluginList"
|
|
print("Now PackerSync will be executed, after completion, restart nvim.\n")
|
|
vim.cmd("PackerSync")
|
|
end
|