feat: change theme to neogruber

This commit is contained in:
fiplox 2023-02-21 21:48:06 +01:00
parent 85ada2d7ac
commit 1736eec0ff
2 changed files with 28 additions and 41 deletions

View File

@ -23,4 +23,4 @@ vim.api.nvim_create_autocmd('User', {
}) })
-- vim.o.background = 'dark' -- vim.o.background = 'dark'
vim.cmd 'colorscheme rose-pine' vim.cmd 'colorscheme neogruber'

View File

@ -1,49 +1,36 @@
local M = { local M = {
'rose-pine/neovim', url = 'ssh://git.vpatuta.xyz/neogruber.nvim',
lazy = true, -- make sure we load this during startup if it is your main colorscheme lazy = false,
priority = 1000, -- make sure to load this before all the other start plugins
} }
function M.config() function M.config()
require('rose-pine').setup { require('neogruber').setup {
--- @usage 'main' | 'moon' borders = true, -- Split window borders
dark_variant = 'moon', fade_nc = true, -- Fade non-current windows, making them more distinguishable
bold_vert_split = false, -- Style that is applied to various groups: see `highlight-args` for options
dim_nc_background = false, styles = {
disable_background = true, comments = 'italic',
disable_float_background = false, strings = 'NONE',
disable_italics = false, keywords = 'NONE',
functions = 'NONE',
--- @usage string hex value or named color from rosepinetheme.com/palette variables = 'NONE',
groups = { diagnostics = 'underline',
background = 'base', storage_class = 'italic',
panel = 'surface', structure = 'NONE',
border = 'highlight_med', loop_cond = 'bold',
comment = 'muted', builtin = 'NONE',
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'
}, },
disable = {
-- Change specific vim highlight groups background = true, -- Disable setting the background color
highlight_groups = { cursorline = false, -- Disable the cursorline
ColorColumn = { bg = 'rose' }, 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 end