initial starter dir structure;
This commit is contained in:
parent
5d69a0d0f9
commit
7dc8c6d0b2
21 changed files with 403 additions and 475 deletions
35
init.lua
35
init.lua
|
|
@ -1,19 +1,18 @@
|
|||
require "core"
|
||||
require "core.options"
|
||||
require "core.autocmds"
|
||||
--
|
||||
-- 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)
|
||||
|
||||
pcall(require, 'custom')
|
||||
|
||||
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"
|
||||
|
||||
vim.schedule(function()
|
||||
require "core.mappings"
|
||||
end, 0)
|
||||
-- require("lazy").setup({
|
||||
-- { import = "plugins" },
|
||||
-- { import = "custom.plugins" },
|
||||
-- }, require "configs.lazy")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue