From e2aa4f73f766ba88d1d70a61abcf647b55413b92 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Fri, 21 Feb 2025 05:34:13 +0800 Subject: [PATCH] feat(nvim): add catppuccin --- .config/nvim/lua/plugins/init.lua | 48 ++++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 14 deletions(-) diff --git a/.config/nvim/lua/plugins/init.lua b/.config/nvim/lua/plugins/init.lua index 3c36209..9abfd64 100644 --- a/.config/nvim/lua/plugins/init.lua +++ b/.config/nvim/lua/plugins/init.lua @@ -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", + }, + }, + }, }