-- Prismatic line decorations for the adventurous vim user -- https://github.com/mvllow/modes.nvim return { "modes.nvim", lazy = false, after = function() require("modes").setup({ colors = { bg = "", -- Optional bg param, defaults to Normal hl group copy = "#9745be", delete = "#c75c6a", change = "#c75c6a", -- Optional param, defaults to delete format = "#c79585", insert = "#859900", replace = "#245361", select = "#f5c359", -- Optional param, defaults to visual visual = "#f5c359", }, -- Set opacity for cursorline and number background line_opacity = 0.25, -- Enable cursor highlights set_cursor = true, -- Enable cursorline initially, and disable cursorline for inactive windows -- or ignored filetypes -- WorkaroundNote: set to false -- because it is incompatible with neo-tree handling of its cursorline -- https://github.com/mvllow/modes.nvim/issues/28 set_cursorline = false, -- Enable line number highlights to match cursorline set_number = true, -- Enable sign column highlights to match cursorline set_signcolumn = true, -- Disable modes highlights for specified filetypes -- or enable with prefix "!" if otherwise disabled (please PR common patterns) -- Can also be a function fun():boolean that disables modes highlights when true ignore = { "NvimTree", "neo-tree", "neo-tree-popup", "TelescopePrompt", "TelescopePrompt", "!minifiles", }, }) end, }