You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
my-nvim-lua/init.lua

28 lines
663 B
Lua

-- load all options
require "options"
4 years ago
3 years ago
-- 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
3 years ago
-- otherwise run PackerSync
require "pluginList"
print("Now PackerSync will be executed, after completion, restart nvim.\n")
vim.cmd("PackerSync")
end