3fa6e3bade
* clean mapping syntax * rm useless util function * add some vim* tsparsers in treesitter config * misc clean * misc clean 2 * add mason bootstrap in main bootstrap file only * misc * rm un-needed dofile call
20 lines
412 B
Lua
20 lines
412 B
Lua
require "core"
|
|
|
|
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)
|