my-nvim-setup/init.lua
2022-06-01 00:49:23 +05:30

23 lines
410 B
Lua

local present, impatient = pcall(require, "impatient")
if present then
impatient.enable_profile()
end
require "core"
require "core.utils"
require "core.options"
vim.defer_fn(function()
require("core.utils").load_mappings()
end, 0)
-- setup packer + plugins
require("core.packer").bootstrap()
require "plugins"
local user_conf, _ = pcall(require, "custom")
if user_conf then
require "custom"
end