feat: change theme to neogruber
This commit is contained in:
parent
85ada2d7ac
commit
1736eec0ff
2
init.lua
2
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'
|
||||
|
@ -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',
|
||||
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',
|
||||
},
|
||||
-- or set all headings at once
|
||||
-- headings = 'subtle'
|
||||
disable = {
|
||||
background = true, -- Disable setting the background color
|
||||
cursorline = false, -- Disable the cursorline
|
||||
eob_lines = true, -- Hide the end-of-buffer lines
|
||||
},
|
||||
|
||||
-- Change specific vim highlight groups
|
||||
highlight_groups = {
|
||||
ColorColumn = { bg = 'rose' },
|
||||
-- Inverse highlight for different groups
|
||||
inverse = {
|
||||
match_paren = true,
|
||||
},
|
||||
custom_highlights = {}, -- Overwrite default highlight groups
|
||||
custom_colors = {}, -- Overwrite default colors
|
||||
}
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user