return { 'rachartier/tiny-glimmer.nvim', event = 'VeryLazy', priority = 10, opts = { enabled = true, disable_warnings = true, refresh_interval_ms = 8, overwrite = { auto_map = true, yank = { enabled = true, default_animation = 'fade', }, search = { enabled = false, default_animation = 'pulse', next_mapping = 'n', prev_mapping = 'N', }, paste = { enabled = true, default_animation = 'reverse_fade', paste_mapping = 'p', Paste_mapping = 'P', }, undo = { enabled = false, default_animation = { name = 'fade', settings = { from_color = 'DiffDelete', max_duration = 500, min_duration = 500, }, }, undo_mapping = 'u', }, redo = { enabled = false, default_animation = { name = 'fade', settings = { from_color = 'DiffAdd', max_duration = 500, min_duration = 500, }, }, redo_mapping = '', }, }, support = { substitute = { enabled = false, default_animation = 'fade', }, }, presets = { pulsar = { enabled = false, on_events = { 'CursorMoved', 'CmdlineEnter', 'WinEnter' }, default_animation = { name = 'fade', settings = { max_duration = 1000, min_duration = 1000, from_color = 'DiffDelete', to_color = 'Normal', }, }, }, }, transparency_color = nil, animations = { fade = { max_duration = 400, min_duration = 300, easing = 'outQuad', chars_for_max_duration = 10, from_color = 'Visual', to_color = 'Normal', }, reverse_fade = { max_duration = 380, min_duration = 300, easing = 'outBack', chars_for_max_duration = 10, from_color = 'Visual', to_color = 'Normal', }, bounce = { max_duration = 500, min_duration = 400, chars_for_max_duration = 20, oscillation_count = 1, from_color = 'Visual', to_color = 'Normal', }, left_to_right = { max_duration = 350, min_duration = 350, min_progress = 0.85, chars_for_max_duration = 25, lingering_time = 50, from_color = 'Visual', to_color = 'Normal', }, pulse = { max_duration = 600, min_duration = 400, chars_for_max_duration = 15, pulse_count = 2, intensity = 1.2, from_color = 'Visual', to_color = 'Normal', }, rainbow = { max_duration = 600, min_duration = 350, chars_for_max_duration = 20, }, custom = { max_duration = 350, chars_for_max_duration = 40, color = 'Visual', -- You can replace this with a highlight group or hex effect = function(self, progress) return self.settings.color, progress end, }, hijack_ft_disabled = { 'alpha', 'snacks_dashboard', }, }, virt_text = { priority = 2048, }, }, }