1

Regenerate nvim config

This commit is contained in:
2024-06-02 03:29:20 +02:00
parent 75eea0c030
commit ef2e28883d
5576 changed files with 604886 additions and 503 deletions

View File

@ -0,0 +1,27 @@
local status, error = pcall(function()
local root = vim.fn.fnamemodify(".repro", ":p")
for _, name in ipairs { "config", "data", "state", "cache" } do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system { "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath }
end
vim.opt.runtimepath:prepend(lazypath)
require("lazy").setup({
{ "catppuccin/nvim", dev = true },
}, {
root = root .. "/plugins",
dev = {
path = debug.getinfo(1).source:sub(2, -21),
},
})
require("catppuccin").setup()
vim.cmd.colorscheme "catppuccin"
end)
if error then print(error) end
vim.cmd(status and "0cq" or "1cq")