mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
Open Neovim floating windows with "minimal" style (#549)
This commit is contained in:
committed by
Thomas Faingnaert
parent
7168f29c08
commit
19e5b08361
@@ -87,6 +87,7 @@ function! s:get_float_positioning(height, width) abort
|
||||
endif
|
||||
endif
|
||||
let l:col = col('.')
|
||||
let l:style = 'minimal'
|
||||
" Positioning is not window but screen relative
|
||||
let l:opts = {
|
||||
\ 'relative': 'win',
|
||||
@@ -94,6 +95,7 @@ function! s:get_float_positioning(height, width) abort
|
||||
\ 'col': l:col,
|
||||
\ 'width': l:width,
|
||||
\ 'height': l:height,
|
||||
\ 'style': l:style,
|
||||
\ }
|
||||
return l:opts
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user