added tiny-glimmer
This commit is contained in:
58
lua/plugins/tiny-glimmer.lua
Normal file
58
lua/plugins/tiny-glimmer.lua
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
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,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user