From 6e3977291586ddef995cd4be62371d18f12afedb Mon Sep 17 00:00:00 2001 From: fiplox Date: Fri, 13 Jan 2023 22:10:29 +0100 Subject: [PATCH] gruvbox theme --- init.lua | 3 ++- lua/plugins/theme.lua | 21 +++++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index 9eeb132..cfdccdb 100644 --- a/init.lua +++ b/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' diff --git a/lua/plugins/theme.lua b/lua/plugins/theme.lua index a9e25ec..75fadd4 100644 --- a/lua/plugins/theme.lua +++ b/lua/plugins/theme.lua @@ -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