From 1736eec0ffa39e9fcd8d1a0c3700a555328da7fa Mon Sep 17 00:00:00 2001 From: fiplox Date: Tue, 21 Feb 2023 21:48:06 +0100 Subject: [PATCH] feat: change theme to neogruber --- init.lua | 2 +- lua/plugins/theme.lua | 67 +++++++++++++++++-------------------------- 2 files changed, 28 insertions(+), 41 deletions(-) diff --git a/init.lua b/init.lua index d263445..936d706 100644 --- a/init.lua +++ b/init.lua @@ -23,4 +23,4 @@ vim.api.nvim_create_autocmd('User', { }) -- vim.o.background = 'dark' -vim.cmd 'colorscheme rose-pine' +vim.cmd 'colorscheme neogruber' diff --git a/lua/plugins/theme.lua b/lua/plugins/theme.lua index 3579f0c..101d907 100644 --- a/lua/plugins/theme.lua +++ b/lua/plugins/theme.lua @@ -1,49 +1,36 @@ local M = { - 'rose-pine/neovim', - 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 + url = 'ssh://git.vpatuta.xyz/neogruber.nvim', + lazy = false, } function M.config() - require('rose-pine').setup { - --- @usage 'main' | 'moon' - dark_variant = 'moon', - bold_vert_split = false, - dim_nc_background = false, - disable_background = true, - disable_float_background = false, - disable_italics = false, - - --- @usage string hex value or named color from rosepinetheme.com/palette - groups = { - background = 'base', - panel = 'surface', - border = 'highlight_med', - comment = 'muted', - link = 'iris', - punctuation = 'subtle', - - error = 'love', - hint = 'iris', - info = 'foam', - warn = 'gold', - - headings = { - h1 = 'iris', - h2 = 'foam', - h3 = 'rose', - h4 = 'gold', - h5 = 'pine', - h6 = 'foam', - }, - -- or set all headings at once - -- headings = 'subtle' + require('neogruber').setup { + borders = true, -- Split window borders + fade_nc = true, -- Fade non-current windows, making them more distinguishable + -- Style that is applied to various groups: see `highlight-args` for options + styles = { + comments = 'italic', + strings = 'NONE', + keywords = 'NONE', + functions = 'NONE', + variables = 'NONE', + diagnostics = 'underline', + storage_class = 'italic', + structure = 'NONE', + loop_cond = 'bold', + builtin = 'NONE', }, - - -- Change specific vim highlight groups - highlight_groups = { - ColorColumn = { bg = 'rose' }, + disable = { + background = true, -- Disable setting the background color + cursorline = false, -- Disable the cursorline + eob_lines = true, -- Hide the end-of-buffer lines }, + -- Inverse highlight for different groups + inverse = { + match_paren = true, + }, + custom_highlights = {}, -- Overwrite default highlight groups + custom_colors = {}, -- Overwrite default colors } end