gruvbox theme

This commit is contained in:
fiplox 2023-01-13 22:10:29 +01:00
parent 0731e3d5a2
commit 6e39772915
2 changed files with 19 additions and 5 deletions

View File

@ -22,4 +22,5 @@ vim.api.nvim_create_autocmd('User', {
end,
})
vim.cmd 'colorscheme tokyonight'
vim.o.background = 'dark'
vim.cmd 'colorscheme gruvbox'

View File

@ -1,13 +1,26 @@
local M = {
'folke/tokyonight.nvim',
'ellisonleao/gruvbox.nvim',
lazy = true, -- 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
}
function M.config()
require('tokyonight').setup {
transparent = true,
style = 'night', -- The theme comes in three styles, `storm`, `moon`, a darker variant `night` and `day`
require('gruvbox').setup {
undercurl = true,
underline = true,
bold = true,
italic = 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 = true,
}
end