* Add window.completion.side_padding and window.completion.col_offset * add col_offset and side_padding options to config/window
15 lines
366 B
Lua
15 lines
366 B
Lua
local window = {}
|
|
|
|
window.bordered = function(opts)
|
|
opts = opts or {}
|
|
return {
|
|
border = opts.border or 'rounded',
|
|
winhighlight = opts.winhighlight or 'Normal:Normal,FloatBorder:Normal,CursorLine:Visual,Search:None',
|
|
zindex = opts.zindex or 1001,
|
|
col_offset = opts.col_offset or 0,
|
|
side_padding = opts.side_padding or 1
|
|
}
|
|
end
|
|
|
|
return window
|