neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 213360c389dee96a2ec540d63035724c3cbfc5ac
parent 5803994a1c4aa6c9b403a246644437f11c8a1e45
Author: Sebastian Lyng Johansen <sebastian@lyngjohansen.com>
Date:   Thu, 10 Jul 2025 14:51:13 +0200

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


Diffstat:
Mruntime/lua/vim/lsp/util.lua | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua @@ -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)