added gruvbox theme

This commit is contained in:
Wellinton Aracena 2024-03-03 11:17:08 -05:00
parent 09552fb633
commit 48f6f499dd
1 changed files with 30 additions and 7 deletions

View File

@ -721,13 +721,36 @@ require('lazy').setup {
-- change the command in the config to whatever the name of that colorscheme is -- 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` -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`
'folke/tokyonight.nvim', 'ellisonleao/gruvbox.nvim',
lazy = false, -- make sure we load this during startup if it is your main colorscheme priority = 1000,
priority = 1000, -- make sure to load this before all the other start plugins config = true,
config = function() opts = function()
-- Load the colorscheme here -- Default options:
vim.cmd.colorscheme 'tokyonight-night' 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 -- You can configure highlights by doing something like
vim.cmd.hi 'Comment gui=none' vim.cmd.hi 'Comment gui=none'
end, end,