fix(lsp): custom 'winborder' in make_floating_popup_options() #34868

This commit is contained in:
Sebastian Lyng Johansen
2025-07-10 14:51:13 +02:00
committed by GitHub
parent 5803994a1c
commit 213360c389

View File

@ -39,6 +39,11 @@ local function get_border_size(opts)
border = 'none' border = 'none'
end end
-- Convert winborder string option with custom characters into a table
if type(border) == 'string' and border:find(',') then
border = vim.split(border, ',')
end
if type(border) == 'string' then if type(border) == 'string' then
if not border_size[border] then if not border_size[border] then
border_error(border) border_error(border)