From 4abbe0eadd503c541fc9bb5d27040222ca82195b Mon Sep 17 00:00:00 2001 From: Michel Date: Tue, 28 May 2024 17:58:11 +0200 Subject: [PATCH] feat(UI): use catppuccin --- lazy-lock.json | 1 + lua/plugins/UI.lua | 21 --------------------- lua/plugins/colorscheme.lua | 37 +++++++++++++++++++++++++++++++++++++ lua/plugins/disabled.lua | 2 -- 4 files changed, 38 insertions(+), 23 deletions(-) create mode 100644 lua/plugins/colorscheme.lua diff --git a/lazy-lock.json b/lazy-lock.json index e1e99d8..a2a07eb 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,6 +1,7 @@ { "LazyVim": { "branch": "main", "commit": "91fe7ef56815263b6a0f4a5c23c4bd1134c77849" }, "bufferline.nvim": { "branch": "main", "commit": "99337f63f0a3c3ab9519f3d1da7618ca4f91cffe" }, + "catppuccin": { "branch": "main", "commit": "5215ea59df6d0a7e27da9a5cd1165e06d1b04cbe" }, "clangd_extensions.nvim": { "branch": "main", "commit": "f36d788f05cfb73d4fd2e606e6ad15f8b842124f" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, diff --git a/lua/plugins/UI.lua b/lua/plugins/UI.lua index 762c80e..88b9439 100644 --- a/lua/plugins/UI.lua +++ b/lua/plugins/UI.lua @@ -1,15 +1,6 @@ -vim.o.background = "dark" - local Util = require("lazyvim.util") return { - { - "LazyVim/LazyVim", - opts = { - colorscheme = "moonfly", - }, - }, - { "akinsho/bufferline.nvim", opts = { options = { always_show_bufferline = true } }, @@ -91,18 +82,6 @@ return { end, }, - { - "echasnovski/mini.indentscope", - opts = { - draw = { - animation = require("mini.indentscope").gen_animation.none(), - }, - symbol = "┆", - }, - }, - - { "bluz71/vim-moonfly-colors" }, - { "folke/noice.nvim", opts = { diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua new file mode 100644 index 0000000..5812428 --- /dev/null +++ b/lua/plugins/colorscheme.lua @@ -0,0 +1,37 @@ +vim.o.background = "dark" + +return { + { + "LazyVim/LazyVim", + opts = { + colorscheme = "catppuccin", + }, + }, + + { + "catppuccin", + enabled = true, + opts = { + color_overrides = { + mocha = { + base = "#000000", + mantle = "#000000", + crust = "#000000", + surface0 = "#953E13", + }, + latte = { + base = "#f6f7f8", + }, + }, + dim_inactive = { + enabled = true, + shade = "light", + percentage = 0.3, + }, + }, + }, + + { "folke/tokyonight.nvim", enabled = false }, + + { "bluz71/vim-moonfly-colors", enabled = false }, +} diff --git a/lua/plugins/disabled.lua b/lua/plugins/disabled.lua index ddb4038..b04f51c 100644 --- a/lua/plugins/disabled.lua +++ b/lua/plugins/disabled.lua @@ -1,5 +1,3 @@ return { - { "catppuccin", enabled = false }, - { "folke/tokyonight.nvim", enabled = false }, { "lukas-reineke/indent-blankline.nvim", enabled = false }, }