feat(nvim): add catppuccin theme

This commit is contained in:
Mohammad Rafiq 2025-02-21 05:10:41 +08:00
parent f39aaa29c1
commit ef3a8a1b6a

View file

@ -1,16 +1,27 @@
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",
},
config = function()
require("nvim-tree").setup {
hijack_cursor = true, -- makes cursor stick to first char
view = {
side = "right",
},
}
end,
opts = {
hijack_cursor = true, -- makes cursor stick to first char
view = {
side = "right",
},
},
-- catppuccin
{
"catppuccin/nvim",
name = "catppuccin",
priority = 1000,
version = "*",
lazy = false,
config = function()
vim.cmd.colorscheme = "catppuccin"
end,
},
}