gruvbox theme
This commit is contained in:
parent
0731e3d5a2
commit
6e39772915
3
init.lua
3
init.lua
@ -22,4 +22,5 @@ vim.api.nvim_create_autocmd('User', {
|
||||
end,
|
||||
})
|
||||
|
||||
vim.cmd 'colorscheme tokyonight'
|
||||
vim.o.background = 'dark'
|
||||
vim.cmd 'colorscheme gruvbox'
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user