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 return { -- Lua table
-- nvim.tree.lua
"nvim-tree/nvim-tree.lua", -- github repo "nvim-tree/nvim-tree.lua", -- github repo
version = "*", -- latest version version = "*", -- latest version
lazy = false, -- dont use lazy loading lazy = false, -- dont use lazy loading
dependencies = { dependencies = {
"nvim-tree/nvim-web-devicons", "nvim-tree/nvim-web-devicons",
}, },
config = function() opts = {
require("nvim-tree").setup { hijack_cursor = true, -- makes cursor stick to first char
hijack_cursor = true, -- makes cursor stick to first char view = {
view = { side = "right",
side = "right", },
}, },
}
end, -- catppuccin
{
"catppuccin/nvim",
name = "catppuccin",
priority = 1000,
version = "*",
lazy = false,
config = function()
vim.cmd.colorscheme = "catppuccin"
end,
},
} }