Skip to content

Commit 396d248

Browse files
authored
Add missing borders to Neovim's floating windows (#1565)
Brings behaviour closer to Vim
1 parent 6b7aabd commit 396d248

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

autoload/lsp/ui/vim/output.vim

+2
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ function! s:get_float_positioning(height, width) abort
102102
let l:height = min([l:height, max([&lines - &cmdheight - l:row, &previewheight])])
103103

104104
let l:style = 'minimal'
105+
let l:border = 'double'
105106
" Positioning is not window but screen relative
106107
let l:opts = {
107108
\ 'relative': 'editor',
@@ -110,6 +111,7 @@ function! s:get_float_positioning(height, width) abort
110111
\ 'width': l:width,
111112
\ 'height': l:height,
112113
\ 'style': l:style,
114+
\ 'border': l:border,
113115
\ }
114116
return l:opts
115117
endfunction

0 commit comments

Comments
 (0)