2021-07-15 21:17:47 +05:30
|
|
|
-- load all options
|
2021-07-09 09:14:04 +05:30
|
|
|
require "options"
|
2021-03-12 12:34:15 +05:30
|
|
|
|
2021-07-16 23:22:36 +05:30
|
|
|
-- load stuff only if theme is initialized
|
2021-07-15 21:17:47 +05:30
|
|
|
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 13:05:54 +05:30
|
|
|
|
2021-07-15 21:17:47 +05:30
|
|
|
async:close()
|
|
|
|
end
|
|
|
|
)
|
|
|
|
)
|
|
|
|
async:send()
|
|
|
|
else
|
2021-07-16 23:22:36 +05:30
|
|
|
-- otherwise run PackerSync
|
2021-07-15 21:17:47 +05:30
|
|
|
require "pluginList"
|
|
|
|
print("Now PackerSync will be executed, after completion, restart neovim.\n")
|
|
|
|
vim.cmd("PackerSync")
|
|
|
|
end
|