From 48f6f499ddbaaaf255858394342a6e97b0be8855 Mon Sep 17 00:00:00 2001 From: Wellinton Aracena Date: Sun, 3 Mar 2024 11:17:08 -0500 Subject: [PATCH] added gruvbox theme --- init.lua | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/init.lua b/init.lua index 3bd24f7a..13e38949 100644 --- a/init.lua +++ b/init.lua @@ -721,13 +721,36 @@ require('lazy').setup { -- change the command in the config to whatever the name of that colorscheme is -- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme` - 'folke/tokyonight.nvim', - lazy = false, -- make sure we load this during startup if it is your main colorscheme - priority = 1000, -- make sure to load this before all the other start plugins - config = function() - -- Load the colorscheme here - vim.cmd.colorscheme 'tokyonight-night' - + 'ellisonleao/gruvbox.nvim', + priority = 1000, + config = true, + opts = function() + -- Default options: + require('gruvbox').setup { + terminal_colors = true, -- add neovim terminal colors + undercurl = true, + underline = true, + bold = true, + italic = { + strings = true, + emphasis = true, + comments = true, + operators = false, + folds = true, + }, + strikethrough = true, + invert_selection = false, + invert_signs = false, + invert_tabline = false, + invert_intend_guides = false, + inverse = true, -- invert background for search, diffs, statuslines and errors + contrast = '', -- can be "hard", "soft" or empty string + palette_overrides = {}, + overrides = {}, + dim_inactive = false, + transparent_mode = false, + } + vim.cmd.colorscheme 'gruvbox' -- You can configure highlights by doing something like vim.cmd.hi 'Comment gui=none' end,