1 -- Prismatic line decorations for the adventurous vim user
2 -- https://github.com/mvllow/modes.nvim
7 require("modes").setup({
9 bg = "", -- Optional bg param, defaults to Normal hl group
12 change = "#c75c6a", -- Optional param, defaults to delete
16 select = "#f5c359", -- Optional param, defaults to visual
20 -- Set opacity for cursorline and number background
23 -- Enable cursor highlights
26 -- Enable cursorline initially, and disable cursorline for inactive windows
27 -- or ignored filetypes
28 -- WorkaroundNote: set to false
29 -- because it is incompatible with neo-tree handling of its cursorline
30 -- https://github.com/mvllow/modes.nvim/issues/28
31 set_cursorline = false,
33 -- Enable line number highlights to match cursorline
36 -- Enable sign column highlights to match cursorline
37 set_signcolumn = true,
39 -- Disable modes highlights for specified filetypes
40 -- or enable with prefix "!" if otherwise disabled (please PR common patterns)
41 -- Can also be a function fun():boolean that disables modes highlights when true