nvim: Increase height of floating window
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
8b23f5c564
commit
e5399b0c02
1 changed files with 1 additions and 1 deletions
|
@ -719,7 +719,7 @@ endfunction
|
|||
" Stolen from https://github.com/camspiers/dotfiles/blob/master/files/.config/nvim/init.vim
|
||||
function! CreateCentredFloatingWindow()
|
||||
let width = float2nr(&columns * 0.8)
|
||||
let height = float2nr(&lines * 0.4)
|
||||
let height = float2nr(&lines * 0.6)
|
||||
let top = ((&lines - height) / 2) - 1
|
||||
let left = (&columns - width) / 2
|
||||
let opts = {'relative': 'editor', 'row': top, 'col': left, 'width': width, 'height': height, 'style': 'minimal'}
|
||||
|
|
Loading…
Reference in a new issue