Merge pull request #108 from FollieHiyuki/border

config: make border style configurable
This commit is contained in:
sim
2022-02-21 18:07:43 -08:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ M.defaults = {
highlight_hovered_item = true,
show_guides = true,
position = 'right',
border = 'single',
relative_width = true,
width = 25,
auto_close = false,

View File

@@ -170,7 +170,7 @@ local function show_preview()
bufpos = { 0, 0 },
row = offsets[1],
col = offsets[2],
border = "single",
border = config.options.border,
})
setup_preview_buf()
else
@@ -196,7 +196,7 @@ local function show_hover()
bufpos = { 0, 0 },
row = offsets[1] + height + 2,
col = offsets[2],
border = "single",
border = config.options.border,
})
setup_hover_buf()
else