File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ local default = {
100100 border = ' single' ,
101101 },
102102 callback = function (id )
103- vim .api .nvim_set_option_value (' winblend' , 10 , {win = id })
103+ vim .api .nvim_set_option_value (' winblend' , 10 , { win = id })
104104 end ,
105105 },
106106 },
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ local function fade_region(start, finish)
116116 anchor = lstart > 0 and ' NW' or ' SE' ,
117117 }
118118 local id = api .nvim_open_win (buf , false , options )
119- api .nvim_set_option_value (' winhl' , ' Normal:' .. ' SCNvimEval' , {win = id })
119+ api .nvim_set_option_value (' winhl' , ' Normal:' .. ' SCNvimEval' , { win = id })
120120 local timer = uv .new_timer ()
121121 local rate = 50
122122 local accum = 0
@@ -131,7 +131,7 @@ local function fade_region(start, finish)
131131 accum = duration
132132 end
133133 local value = math.pow (accum / duration , 2.5 )
134- api .nvim_set_option_value (' winblend' , math.floor (100 * value ), {win = id })
134+ api .nvim_set_option_value (' winblend' , math.floor (100 * value ), { win = id })
135135 if accum >= duration then
136136 timer :stop ()
137137 api .nvim_win_close (id , true )
You can’t perform that action at this time.
0 commit comments