updated colours, formatting

This commit is contained in:
Eric Xiao 2022-10-20 22:08:57 -07:00
commit 9f8166f90a
10 changed files with 806 additions and 833 deletions

View file

@ -3,19 +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