mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
format
This commit is contained in:
parent
ce7a9ee308
commit
1b8b98e194
9 changed files with 820 additions and 820 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue