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