nvim-lua.kickstart.nvim/lua/custom/plugins/e-ink.lua

20 lines
629 B
Lua
Raw Normal View History

2025-03-27 00:18:37 +01:00
return {
2025-03-27 01:30:45 +01:00
'alexxGmZ/e-ink.nvim',
priority = 1000,
config = function()
-- Set background BEFORE applying colorscheme
vim.opt.background = 'light' -- or 'dark'
local mono = require('e-ink.palette').mono()
vim.api.nvim_set_hl(0, 'Cursor', { bg = mono[16] })
vim.api.nvim_set_hl(0, 'Cursor', { fg = mono[1], bg = mono[16] })
require('e-ink').setup()
vim.cmd.colorscheme 'e-ink'
2025-03-27 00:18:37 +01:00
2025-03-27 01:30:45 +01:00
-- Get palette AFTER colorscheme setup
local everforest = require('e-ink.palette').everforest()
-- Target a VALID highlight group
-- vim.api.nvim_set_hl(0, 'Comment', { fg = everforest.purple })
end,
2025-03-27 00:18:37 +01:00
}