nvim: add color scheme

This commit is contained in:
insects 2025-04-11 11:49:21 +02:00
parent c7b89f343d
commit 5678612f32
2 changed files with 15 additions and 2 deletions

View file

@ -6,7 +6,7 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
vim.api.nvim_echo({ vim.api.nvim_echo({
{ "Failed to clone lazy.nvim\n", "ErrorMsg" }, { "Failed to clone lazy.nvim\n", "ErrorMsg" },
{ out, "WarningMsg" }, { out, "WarningMsg" },
{ "\nPress any key to exit..." } { "\nPress any key to exit..." },
}, true, {}) }, true, {})
vim.fn.getchar() vim.fn.getchar()
os.exit(1) os.exit(1)
@ -21,6 +21,5 @@ require("lazy").setup({
spec = { spec = {
{ import = "plugins" }, { import = "plugins" },
}, },
install = { colorscheme = { "habamax" } },
checker = { enabled = true }, checker = { enabled = true },
}) })

View file

@ -1,6 +1,14 @@
-- Base plugins and libraries -- Base plugins and libraries
return { return {
{
"catppuccin/nvim",
priority = 1000,
lazy = false,
config = function()
vim.cmd([[colorscheme catppuccin-mocha]])
end,
},
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
{ {
"folke/snacks.nvim", "folke/snacks.nvim",
@ -78,4 +86,10 @@ return {
"m4xshen/autoclose.nvim", "m4xshen/autoclose.nvim",
opts = {}, opts = {},
}, },
{
"wsdjeg/rooter.nvim",
opts = {
root_pattern = { ".git/" },
},
},
} }