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