59 lines
1.5 KiB
Lua
59 lines
1.5 KiB
Lua
return {
|
|
'rachartier/tiny-glimmer.nvim',
|
|
event = 'VeryLazy',
|
|
priority = 10, -- Low priority to catch other plugins' keybindings
|
|
config = function()
|
|
require('tiny-glimmer').setup({
|
|
overwrite = {
|
|
yank = {
|
|
enabled = true,
|
|
default_animation = 'fade',
|
|
},
|
|
search = {
|
|
enabled = true,
|
|
},
|
|
undo = {
|
|
enabled = true,
|
|
default_animation = {
|
|
name = 'fade',
|
|
settings = {
|
|
from_color = '@comment.warning',
|
|
max_duration = 500,
|
|
min_duration = 500,
|
|
},
|
|
},
|
|
},
|
|
redo = {
|
|
enabled = true,
|
|
default_animation = {
|
|
name = 'fade',
|
|
settings = {
|
|
from_color = '@comment.warning',
|
|
max_duration = 500,
|
|
min_duration = 500,
|
|
},
|
|
},
|
|
redo_mapping = '<c-r>',
|
|
},
|
|
},
|
|
animations = {
|
|
fade = {
|
|
from_color = '@comment.warning', -- Start color (highlight group or hex)
|
|
},
|
|
reverse_fade = {
|
|
from_color = '@comment.warning', -- Start color (highlight group or hex)
|
|
},
|
|
pulse = {
|
|
from_color = '@comment.warning', -- Start color (highlight group or hex)
|
|
},
|
|
bounce = {
|
|
from_color = '@comment.warning', -- Start color (highlight group or hex)
|
|
},
|
|
left_to_right = {
|
|
from_color = '@comment.warning', -- Start color (highlight group or hex)
|
|
},
|
|
},
|
|
})
|
|
end,
|
|
}
|