Compare commits

...

2 Commits

Author SHA1 Message Date
160be0e25e
refactor(nvim): improve lazy loading for visual-whitespace
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 38s
2024-12-03 11:16:28 -06:00
6d2eb95039
refactor(nvim): remove spell & wrap indications in winbar 2024-12-03 11:16:06 -06:00
2 changed files with 1 additions and 97 deletions

View File

@ -542,102 +542,6 @@ return {
{ {
provider = "%=", 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 = { update = {
"BufAdd", "BufAdd",

View File

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