Files
neovim-config/lua/plugins/dead-column.lua
T
rootiest 2807567e34 🖍️ Plugin and Theme Formatting
- Formatting cleanup
2024-07-12 21:39:48 -04:00

33 lines
917 B
Lua

-- -----------------------------------------------------------------------------
-- ------------------------------- DeadColumn ----------------------------------
-- -----------------------------------------------------------------------------
return {
"Bekaboo/deadcolumn.nvim",
config = function()
require("deadcolumn").setup({
scope = "line", ---@type string|fun(): integer
---@type string[]|fun(mode: string): boolean
modes = function(mode)
return mode:find("^[ictRss\x13]") ~= nil
end,
blending = {
threshold = 0.9,
colorcode = "#737895",
hlgroup = { "Normal", "bg" },
},
warning = {
alpha = 0.4,
offset = 0,
colorcode = "#f27b82",
hlgroup = { "Error", "bg" },
},
extra = {
---@type string?
follow_tw = "80",
},
})
vim.cmd(":set colorcolumn=120")
end,
}