33 lines
923 B
Lua
33 lines
923 B
Lua
return {
|
|
'mvllow/modes.nvim',
|
|
tag = 'v0.2.0',
|
|
config = function()
|
|
require('modes').setup({
|
|
|
|
colors = {
|
|
visual = '#f5c359',
|
|
delete = '#c75c6a',
|
|
copy = '#78ccc5',
|
|
insert = '#c5739a',
|
|
},
|
|
|
|
-- Set opacity for cursorline and number background
|
|
line_opacity = 0.15,
|
|
|
|
-- Enable cursor highlights
|
|
set_cursor = true,
|
|
|
|
-- Enable cursorline initially, and disable cursorline for inactive windows
|
|
-- or ignored filetypes
|
|
set_cursorline = true,
|
|
|
|
-- Enable line number highlights to match cursorline
|
|
set_number = true,
|
|
|
|
-- Disable modes highlights in specified filetypes
|
|
-- Please PR commonly ignored filetypes
|
|
ignore_filetypes = { 'NvimTree', 'TelescopePrompt' },
|
|
})
|
|
end,
|
|
}
|