mirror of
https://github.com/neovim/neovim
synced 2025-07-15 08:41:47 +00:00
fix(lsp): custom 'winborder' in make_floating_popup_options() #34868
This commit is contained in:
committed by
GitHub
parent
5803994a1c
commit
213360c389
@ -39,6 +39,11 @@ local function get_border_size(opts)
|
||||
border = 'none'
|
||||
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 not border_size[border] then
|
||||
border_error(border)
|
||||
|
Reference in New Issue
Block a user