From 05dafa0296ff32a92b01abde642a03b05a73a892 Mon Sep 17 00:00:00 2001 From: whitney Date: Tue, 10 Sep 2024 16:49:32 -0700 Subject: [PATCH] Fix colors --- lazyvim/lua/config/lazy.lua | 1 - lazyvim/lua/plugins/colorscheme.lua | 21 +++++++++++++++++++++ lazyvim/lua/plugins/plugins.lua | 18 ------------------ 3 files changed, 21 insertions(+), 19 deletions(-) create mode 100644 lazyvim/lua/plugins/colorscheme.lua diff --git a/lazyvim/lua/config/lazy.lua b/lazyvim/lua/config/lazy.lua index d73bfa1..285d95d 100644 --- a/lazyvim/lua/config/lazy.lua +++ b/lazyvim/lua/config/lazy.lua @@ -30,7 +30,6 @@ require("lazy").setup({ version = false, -- always use the latest git commit -- version = "*", -- try installing the latest stable version for plugins that support semver }, - install = { colorscheme = { "tokyonight", "habamax" } }, checker = { enabled = true, -- check for plugin updates periodically notify = false, -- notify on update diff --git a/lazyvim/lua/plugins/colorscheme.lua b/lazyvim/lua/plugins/colorscheme.lua new file mode 100644 index 0000000..c3b36c1 --- /dev/null +++ b/lazyvim/lua/plugins/colorscheme.lua @@ -0,0 +1,21 @@ +return { + -- Tokyo Night Theme + { + "folke/tokyonight.nvim", + lazy = false, + priority = 1000, + opts = {}, + }, + -- Catppuccin theme + { + "catppuccin/nvim", + name = "catppuccin", + priority = 1000, + }, + { + "LazyVim/LazyVim", + opts = { + colorscheme = "catppuccin-macchiato", + }, + }, +} diff --git a/lazyvim/lua/plugins/plugins.lua b/lazyvim/lua/plugins/plugins.lua index 8e6b5c5..6ccaa70 100644 --- a/lazyvim/lua/plugins/plugins.lua +++ b/lazyvim/lua/plugins/plugins.lua @@ -1,22 +1,4 @@ return { - -- Add the Gruvbox colorscheme - { - "ellisonleao/gruvbox.nvim", - priority = 1000, -- Ensure Gruvbox loads first - config = function() - vim.cmd("colorscheme gruvbox") -- Set Gruvbox as the default colorscheme - end, - }, - -- VimTeX - { - "lervag/vimtex", - ft = { "tex" }, -- Only load VimTeX for LaTeX files - config = function() - -- Add VimTeX-specific settings - vim.g.vimtex_view_method = "zathura" - vim.g.vimtex_compiler_method = "latexmk" - end, - }, -- add more treesitter parsers { "nvim-treesitter/nvim-treesitter",