From 1efb659f28c0fbaaac6e5dae3fa687d7a5830436 Mon Sep 17 00:00:00 2001 From: Jorengarenar Date: Tue, 9 Jul 2024 22:28:13 +0200 Subject: [PATCH] Add missing borders to Neovim's floating windows Brings behaviour closer to Vim --- autoload/lsp/ui/vim/output.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autoload/lsp/ui/vim/output.vim b/autoload/lsp/ui/vim/output.vim index 5914a1d22..9955f3be7 100644 --- a/autoload/lsp/ui/vim/output.vim +++ b/autoload/lsp/ui/vim/output.vim @@ -102,6 +102,7 @@ function! s:get_float_positioning(height, width) abort let l:height = min([l:height, max([&lines - &cmdheight - l:row, &previewheight])]) let l:style = 'minimal' + let l:border = 'double' " Positioning is not window but screen relative let l:opts = { \ 'relative': 'editor', @@ -110,6 +111,7 @@ function! s:get_float_positioning(height, width) abort \ 'width': l:width, \ 'height': l:height, \ 'style': l:style, + \ 'border': l:border, \ } return l:opts endfunction