Compare commits

..

No commits in common. "160be0e25e9be858f153932708504216e19fc233" and "aa6e7447a0a2cec6dc8cf88da65ef657de3dd96f" have entirely different histories.

2 changed files with 97 additions and 1 deletions

View File

@ -542,6 +542,102 @@ return {
{
provider = "%=",
},
{
{
provider = seps.full.left,
hl = function()
return { fg = colors.sumiInk4, bg = utils.get_highlight("WinBar").bg }
end,
},
{
provider = function()
return "spell "
end,
hl = {
fg = colors.fujiWhite,
bg = colors.sumiInk4,
},
},
{
{
provider = seps.full.left,
hl = function()
return {
fg = vim.opt_local.spell:get() and colors.springGreen or colors.peachRed,
bg = colors.sumiInk4,
}
end,
},
{
provider = function()
return vim.opt_local.spell:get() and "" or ""
end,
hl = function()
return {
fg = colors.sumiInk0,
bg = vim.opt_local.spell:get() and colors.springGreen or colors.peachRed,
}
end,
},
{
provider = seps.full.right .. " ",
hl = function()
return {
fg = vim.opt_local.spell:get() and colors.springGreen or colors.peachRed,
bg = utils.get_highlight("WinBar").bg,
}
end,
},
},
},
{
{
provider = seps.full.left,
hl = function()
return { fg = colors.sumiInk4, bg = utils.get_highlight("WinBar").bg }
end,
},
{
provider = function()
return "wrap "
end,
hl = {
fg = colors.fujiWhite,
bg = colors.sumiInk4,
},
},
{
{
provider = seps.full.left,
hl = function()
return {
fg = vim.opt_local.wrap:get() and colors.springGreen or colors.peachRed,
bg = colors.sumiInk4,
}
end,
},
{
provider = function()
return vim.opt_local.wrap:get() and "" or ""
end,
hl = function()
return {
fg = colors.sumiInk0,
bg = vim.opt_local.wrap:get() and colors.springGreen or colors.peachRed,
}
end,
},
{
provider = seps.full.right .. " ",
hl = function()
return {
fg = vim.opt_local.wrap:get() and colors.springGreen or colors.peachRed,
bg = utils.get_highlight("WinBar").bg,
}
end,
},
},
},
{
update = {
"BufAdd",

View File

@ -1,7 +1,7 @@
return {
{
"mcauley-penney/visual-whitespace.nvim",
event = "ModeChanged *:[vV]",
event = "ModeChanged",
opts = {
highlight = { link = "visual-whitespace" },
},