not sure yet, nix flake...

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-04-03 16:09:01 -05:00
parent 633916dd9a
commit 43df590ba2
49 changed files with 132 additions and 2453 deletions

View file

@ -1,32 +1 @@
require("options")
require("keymaps")
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
local output = vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
if vim.api.nvim_get_vvar("shell_error") ~= 0 then
vim.api.nvim_err_writeln("Error cloning lazy.nvim repository...\n\n" .. output)
end
end
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
require("lazy").setup({
spec = {
{ import = "plugins" },
},
change_detection = {
enabled = false,
},
})
-- vim.cmd("colorscheme material")
vim.cmd("colorscheme catppuccin")
require("tools")
require("autocommands")
print("NIX FLAKE NVIM")