From ef3a8a1b6ab16309d9405bc9ddcc9d5fded12fc6 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Fri, 21 Feb 2025 05:10:41 +0800 Subject: [PATCH] feat(nvim): add catppuccin theme --- .config/nvim/lua/plugins/init.lua | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/.config/nvim/lua/plugins/init.lua b/.config/nvim/lua/plugins/init.lua index 3915b90..3c36209 100644 --- a/.config/nvim/lua/plugins/init.lua +++ b/.config/nvim/lua/plugins/init.lua @@ -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, + }, }