Skip to content

Commit acc962e

Browse files
committed
fix formatting
1 parent 14b5d14 commit acc962e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lua/scnvim/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
},

lua/scnvim/editor.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)