summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin/colors.lua
blob: ea987610945a7ea6d93a1fc32c0fe331b0238de2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require('rose-pine').setup({
	disable_background = true
})

function SetTheme(color)
	local hl = vim.api.nvim_set_hl
	vim.cmd.colorscheme(color or 'rose-pine')
	hl(0, 'Normal', vim.g.neovide and {
		fg = '#C5C8C6',
		bg = '#2B303B',
	} or {
		fg = 'none',
		bg = 'none',
	})

	hl(0, 'NormalFloat', { bg = 'none' })
	hl(0, 'LineNr', { fg = 'yellow' })
	hl(0, 'LineNrAbove', { fg = 'grey' })
	hl(0, 'LineNrBelow', { fg = 'grey' })
end

SetTheme()