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.o.background = 'dark'
 | 
				
			||||||
vim.cmd 'colorscheme rose-pine'
 | 
					vim.cmd 'colorscheme neogruber'
 | 
				
			||||||
 | 
				
			|||||||
@ -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
 | 
							disable = {
 | 
				
			||||||
			-- headings = 'subtle'
 | 
								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
 | 
				
			||||||
		-- Change specific vim highlight groups
 | 
							inverse = {
 | 
				
			||||||
		highlight_groups = {
 | 
								match_paren = true,
 | 
				
			||||||
			ColorColumn = { bg = 'rose' },
 | 
					 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							custom_highlights = {}, -- Overwrite default highlight groups
 | 
				
			||||||
 | 
							custom_colors = {}, -- Overwrite default colors
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user