updated e-ink config
parent
f22df9bbf7
commit
f90f5456fa
@ -1,16 +1,19 @@
|
|||||||
return {
|
return {
|
||||||
"alexxGmZ/e-ink.nvim",
|
'alexxGmZ/e-ink.nvim',
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
config = function ()
|
config = function()
|
||||||
require("e-ink").setup()
|
-- Set background BEFORE applying colorscheme
|
||||||
vim.cmd.colorscheme "e-ink"
|
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'
|
||||||
|
|
||||||
-- choose light mode or dark mode
|
-- Get palette AFTER colorscheme setup
|
||||||
-- vim.opt.background = "dark"
|
local everforest = require('e-ink.palette').everforest()
|
||||||
vim.opt.background = "light"
|
|
||||||
--
|
-- Target a VALID highlight group
|
||||||
-- or do
|
-- vim.api.nvim_set_hl(0, 'Comment', { fg = everforest.purple })
|
||||||
-- :set background=dark
|
end,
|
||||||
-- :set background=light
|
|
||||||
end
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue