From a14af6d5908275e45a6f6a8a20b91d7c892547cb Mon Sep 17 00:00:00 2001 From: Patrick Auernig Date: Fri, 24 May 2024 14:12:01 +0200 Subject: [PATCH] Restructure colorschemes and other visual plugins --- lua/valeth/plugins/colorschemes.lua | 39 +++++++++++++++++++ lua/valeth/plugins/fancy.lua | 50 ------------------------- lua/valeth/plugins/indent-blankline.lua | 15 ++++++++ 3 files changed, 54 insertions(+), 50 deletions(-) create mode 100644 lua/valeth/plugins/colorschemes.lua delete mode 100644 lua/valeth/plugins/fancy.lua create mode 100644 lua/valeth/plugins/indent-blankline.lua diff --git a/lua/valeth/plugins/colorschemes.lua b/lua/valeth/plugins/colorschemes.lua new file mode 100644 index 0000000..2dfa59c --- /dev/null +++ b/lua/valeth/plugins/colorschemes.lua @@ -0,0 +1,39 @@ +local ayu_spec = { + "valeth/ayu-nvim", + branch = "fold-column-fg", + enabled = false, + lazy = false, + priority = 1000, + config = function() + vim.g.ayu_mirage = true + vim.cmd.colorscheme("ayu") + end +} + +local catppuccin_spec = { + "catppuccin/nvim", + name = "catppuccin", + enabled = true, + lazy = false, + priority = 1000, + config = function() + require("catppuccin").setup({ + transparent_background = true, + custom_highlights = function(colors) + return { + Folded = { bg = colors.none }, + UfoFoldedEllipsis = { fg = colors.blue, bg = colors.none }, + } + end, + integrations = { + notify = true, + } + }) + + vim.cmd.colorscheme("catppuccin") + end +} + +return { + ayu_spec, catppuccin_spec +} diff --git a/lua/valeth/plugins/fancy.lua b/lua/valeth/plugins/fancy.lua deleted file mode 100644 index dc66b55..0000000 --- a/lua/valeth/plugins/fancy.lua +++ /dev/null @@ -1,50 +0,0 @@ -return { - { - "valeth/ayu-nvim", - branch = "fold-column-fg", - enabled = false, - lazy = false, - priority = 1000, - config = function() - vim.g.ayu_mirage = true - vim.cmd.colorscheme("ayu") - end - }, - - { - "catppuccin/nvim", - name = "catppuccin", - enabled = true, - lazy = false, - priority = 1000, - config = function() - require("catppuccin").setup({ - transparent_background = true, - custom_highlights = function(colors) - return { - Folded = { bg = colors.none }, - UfoFoldedEllipsis = { fg = colors.blue, bg = colors.none }, - } - end, - integrations = { - notify = true, - } - }) - - vim.cmd.colorscheme("catppuccin") - end - }, - - { - "lukas-reineke/indent-blankline.nvim", - main = "ibl", - opts = { - scope = { - show_start = false, - } - }, - dependencies = { - "nvim-treesitter/nvim-treesitter", - } - }, -} diff --git a/lua/valeth/plugins/indent-blankline.lua b/lua/valeth/plugins/indent-blankline.lua new file mode 100644 index 0000000..fef5e02 --- /dev/null +++ b/lua/valeth/plugins/indent-blankline.lua @@ -0,0 +1,15 @@ +local spec = { + "lukas-reineke/indent-blankline.nvim", + dependencies = { + "nvim-treesitter/nvim-treesitter", + }, + main = "ibl", +} + +spec.opts = { + scope = { + show_start = false, + } +} + +return spec