grace-rose-pine -> rose-pine

This commit is contained in:
Grace Petryk 2024-02-09 17:06:38 -08:00
commit 42e4ed0625
19 changed files with 23 additions and 23 deletions

22
lua/rose-pine.lua Normal file
View file

@ -0,0 +1,22 @@
local config = require('rose-pine.config')
local M = {}
---@param options Config|nil
function M.colorscheme(options)
if options then
config.extend(options)
end
if vim.g.colors_name then
vim.cmd('hi clear')
end
vim.opt.termguicolors = true
vim.g.colors_name = 'rose-pine'
require('rose-pine.theme')._load(config.options)
end
M.setup = config.setup
return M