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