feat(nvim): add catppuccin

This commit is contained in:
Mohammad Rafiq 2025-02-21 05:34:13 +08:00
parent ef3a8a1b6a
commit e2aa4f73f7

View file

@ -1,18 +1,4 @@
return { -- Lua table
-- nvim.tree.lua
"nvim-tree/nvim-tree.lua", -- github repo
version = "*", -- latest version
lazy = false, -- dont use lazy loading
dependencies = {
"nvim-tree/nvim-web-devicons",
},
opts = {
hijack_cursor = true, -- makes cursor stick to first char
view = {
side = "right",
},
},
-- catppuccin
{
"catppuccin/nvim",
@ -21,7 +7,41 @@ return { -- Lua table
version = "*",
lazy = false,
config = function()
require("catppuccin").setup({
flavour = "latte", -- latte, frappe, macchiato, mocha
color_overrides = {},
custom_highlights = {},
default_integrations = true,
integrations = {
cmp = true,
gitsigns = true,
nvimtree = true,
treesitter = true,
notify = false,
mini = {
enabled = true,
indentscope_color = "",
},
-- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations)
},
})
vim.cmd.colorscheme = "catppuccin"
end,
},
-- nvim.tree.lua
{
"nvim-tree/nvim-tree.lua", -- github repo
version = "*", -- latest version
lazy = false, -- dont use lazy loading
dependencies = {
"nvim-tree/nvim-web-devicons",
},
opts = {
hijack_cursor = true, -- makes cursor stick to first char
view = {
side = "right",
},
},
},
}