neovim-config/init.lua

20 lines
412 B
Lua
Raw Normal View History

require "core"
2024-02-29 16:20:47 +00:00
pcall(require, 'custom')
2023-01-07 08:11:43 +00:00
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
-- bootstrap lazy.nvim!
2023-01-07 08:11:43 +00:00
if not vim.loop.fs_stat(lazypath) then
require("core.bootstrap").gen_chadrc_template()
require("core.bootstrap").lazy(lazypath)
end
dofile(vim.g.base46_cache .. "defaults")
2023-01-07 08:11:43 +00:00
vim.opt.rtp:prepend(lazypath)
require "plugins"
2024-02-25 03:13:48 +00:00
vim.schedule(function()
require "core.mappings"
end, 0)