mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
updated colours, formatting
This commit is contained in:
parent
821d91699f
commit
9f8166f90a
10 changed files with 806 additions and 833 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue