summaryrefslogtreecommitdiff
path: root/lua/ben/plugins/colorscheme.lua
blob: 1d8cb72412b2ba70b8e8b5cc653961b84962bd08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
return {
	-- Treesitter optimized colorscheme
	{
		"neanias/everforest-nvim",
		priority = 1000,
		version = false,
		config = function()
			require("everforest").setup({
				background = "hard",
				italics = true,
				transparent_background_level = 2,
			})
			require("everforest").load()
		end,
	},
	-- My very own colorscheme
	{
		"ChausseBenjamin/friffle-vim",
		lazy = true,
		config = function()
			vim.cmd([[syntax on]]) -- Enable vim syntax
			vim.cmd([[set tgc]]) -- Terminal GUI Colors
			vim.cmd([[set lz]]) -- Lazy redraw
			vim.cmd([[set t_Co=256]]) -- 256 Colors
			vim.cmd([[colo friffle]]) -- Set the colorscheme
			vim.cmd([[hi Normal guibg=NONE]])
			vim.cmd([[hi CursorLineNr guibg=NONE]])
			vim.cmd([[hi Constant guibg=NONE]])
			vim.cmd([[hi Conceal guibg=NONE]])
			vim.cmd([[hi Folded guibg=NONE]])
			vim.cmd([[hi ColorColumn guibg='#738c9c']])
			vim.cmd([[hi Todo guibg='#acb3b5' guifg='#340001']])
			vim.cmd([[hi Search guifg='#810002' guibg='#738c9c']])
		end,
	},
	-- A multi-themed plugin
	{
		"EdenEast/nightfox.nvim",
		-- priority = 1000,
		lazy = true,
		config = function()
			require("nightfox").setup({
				options = {
					-- Compiled file's destination location
					compile_path = vim.fn.stdpath("cache") .. "/nightfox",
					compile_file_suffix = "_compiled", -- Compiled file suffix
					transparent = true, -- Disable setting background
					terminal_colors = true, -- Set terminal colors (vim.g.terminal_color_*) used in `:terminal`
					dim_inactive = false, -- Non focused panes set to alternative background
					module_default = true, -- Default enable value for modules
					colorblind = {
						enable = false, -- Enable colorblind support
						simulate_only = false, -- Only show simulated colorblind colors and not diff shifted
						severity = {
							protan = 0, -- Severity [0,1] for protan (red)
							deutan = 0, -- Severity [0,1] for deutan (green)
							tritan = 0, -- Severity [0,1] for tritan (blue)
						},
					},
					styles = { -- Style to be applied to different syntax groups
						-- bold
						-- underline
						-- undercurl	curly underline
						-- underdouble	double underline
						-- underdotted	dotted underline
						-- underdashed	dashed underline
						-- strikethrough
						-- reverse
						-- inverse		same as reverse
						-- italic
						-- standout
						-- altfont
						-- nocombine	override attributes instead of combining them
						-- NONE		no attributes used (used to reset it)
						comments = "italic", -- Value is any valid attr-list value `:help attr-list`
						conditionals = "NONE",
						constants = "bold",
						functions = "italic",
						keywords = "NONE",
						numbers = "NONE",
						operators = "NONE",
						strings = "NONE",
						types = "NONE",
						variables = "NONE",
					},
					inverse = { -- Inverse highlight for different types
						match_paren = true,
						visual = false,
						search = false,
					},
				},
				palettes = {},
				specs = {},
				groups = {},
			})
			vim.cmd([[colo terafox]])
		end,
	},
	-- Backup retro colorscheme
	{
		"djpohly/elly.vim",
		lazy = true,
	},
}