dotfiles/bspwm/.config/nvim/init.lua
SindreKjelsrud ec9c0395f6
🚚 moved old bspwm setup into its own folder
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
2024-10-06 14:41:15 +02:00

21 lines
512 B
Lua

require "core"
local custom_init_path = vim.api.nvim_get_runtime_file("lua/custom/init.lua", false)[1]
if custom_init_path then
dofile(custom_init_path)
end
require("core.utils").load_mappings()
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
-- bootstrap lazy.nvim!
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")
vim.opt.rtp:prepend(lazypath)
require "plugins"