From 4f5bd49e70e12e2b6aec6188cdfde5845ffd44a5 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Tue, 24 Jan 2023 17:36:44 +0100 Subject: [PATCH] added gruvbox material --- lua/plugins/gruvbox_flat.lua | 3 ++- lua/plugins/gruvbox_material.lua | 18 ++++++++++++++++++ lua/plugins/lualine.lua | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 lua/plugins/gruvbox_material.lua diff --git a/lua/plugins/gruvbox_flat.lua b/lua/plugins/gruvbox_flat.lua index f3603d2..8c65c28 100644 --- a/lua/plugins/gruvbox_flat.lua +++ b/lua/plugins/gruvbox_flat.lua @@ -14,5 +14,6 @@ return { } vim.g.gruvbox_dark_float = false vim.cmd('colorscheme gruvbox-flat') - end + end, + enabled = false } diff --git a/lua/plugins/gruvbox_material.lua b/lua/plugins/gruvbox_material.lua new file mode 100644 index 0000000..c8f952b --- /dev/null +++ b/lua/plugins/gruvbox_material.lua @@ -0,0 +1,18 @@ +return { + 'sainnhe/gruvbox-material', + priority = 1000, + config = function() + -- local colors = require('gruvbox.colors') + -- vim.g.gruvbox_flat_style = "dark" + -- vim.g.gruvbox_colors = { + -- bg_search = 'purple', + -- fg_search = 'black', + -- } + -- vim.g.gruvbox_theme = { + -- Pmenu = { bg = 'bg_visual' }, + -- NormalFloat = { bg = 'bg_visual' } + -- } + -- vim.g.gruvbox_dark_float = false + vim.cmd('colorscheme gruvbox-material') + end +} diff --git a/lua/plugins/lualine.lua b/lua/plugins/lualine.lua index 00731c2..53545b0 100644 --- a/lua/plugins/lualine.lua +++ b/lua/plugins/lualine.lua @@ -3,7 +3,7 @@ return { dependencies = { 'kyazdani42/nvim-web-devicons' }, config = { options = { - theme = 'gruvbox-flat', + theme = 'gruvbox-material', disabled_filetypes = { statusline = {}, winbar = { 'dap-repl', 'dapui_console' },