File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ require('tiny-glimmer').setup({
71
71
-- Disable this if you wants to debug highlighting issues
72
72
disable_warnings = true ,
73
73
74
- default_animation = " fade" ,
75
74
refresh_interval_ms = 6 ,
76
75
77
76
overwrite = {
@@ -116,6 +115,10 @@ require('tiny-glimmer').setup({
116
115
-- Keys to navigate to the previous match
117
116
prev_mapping = " Nzzzv" ,
118
117
},
118
+ yank = {
119
+ enabled = true ,
120
+ default_animation = " fade" ,
121
+ },
119
122
paste = {
120
123
enabled = false ,
121
124
default_animation = " reverse_fade" ,
@@ -236,7 +239,7 @@ require('tiny-glimmer').setup({
236
239
intensity = 1.2 ,
237
240
},
238
241
239
- -- You can add as many animations as you want
242
+ -- You can add as many animations as you want
240
243
custom = {
241
244
-- You can also add as many custom options as you want
242
245
-- Only `max_duration` and `chars_for_max_duration` is required
@@ -256,6 +259,10 @@ require('tiny-glimmer').setup({
256
259
return self .settings .color , progress
257
260
end ,
258
261
},
262
+ hijack_ft_disabled = {
263
+ " alpha" ,
264
+ " snacks_dashboard" ,
265
+ },
259
266
},
260
267
virt_text = {
261
268
priority = 2048 ,
Original file line number Diff line number Diff line change @@ -141,7 +141,6 @@ function test()
141
141
142
142
for i , line in ipairs (buf_content ) do
143
143
if # line > 0 then
144
- local range = {
145
144
start_line = i - 1 ,
146
145
start_col = 0 ,
147
146
end_line = i - 1 ,
@@ -169,7 +168,6 @@ function test()
169
168
base = {
170
169
range = range ,
171
170
},
172
- content = { line },
173
171
})
174
172
end
175
173
end
You can’t perform that action at this time.
0 commit comments