This commit is contained in:
Eric Xiao 2022-10-21 10:44:47 -07:00
commit 1b8b98e194
9 changed files with 820 additions and 820 deletions

View file

@ -3,15 +3,15 @@ local util = require('rose-pine.util')
local M = {}
function M.colorscheme()
if vim.g.colors_name then vim.cmd('hi clear') end
if vim.g.colors_name then vim.cmd('hi clear') end
vim.opt.termguicolors = true
vim.g.colors_name = 'rose-pine'
vim.opt.termguicolors = true
vim.g.colors_name = 'rose-pine'
local theme = require('rose-pine.theme').get()
local theme = require('rose-pine.theme').get()
-- Set theme highlights
for group, color in pairs(theme) do util.highlight(group, color) end
-- Set theme highlights
for group, color in pairs(theme) do util.highlight(group, color) end
end
return M