[vim] Allow specifying popup width and height in absolute integer value

Fix https://github.com/junegunn/fzf.vim/issues/1116
This commit is contained in:
Junegunn Choi
2020-09-06 22:12:51 +09:00
parent d785135606
commit 0db65c22d3
3 changed files with 8 additions and 8 deletions

View File

@@ -290,8 +290,8 @@ When `window` entry is a dictionary, fzf will start in a popup window. The
following options are allowed:
- Required:
- `width` [float range [0 ~ 1]]
- `height` [float range [0 ~ 1]]
- `width` [float range [0 ~ 1]] or [integer range [8 ~ ]]
- `height` [float range [0 ~ 1]] or [integer range [4 ~ ]]
- Optional:
- `yoffset` [float default 0.5 range [0 ~ 1]]
- `xoffset` [float default 0.5 range [0 ~ 1]]
@@ -386,8 +386,8 @@ The latest versions of Vim and Neovim include builtin terminal emulator
```vim
" Required:
" - width [float range [0 ~ 1]]
" - height [float range [0 ~ 1]]
" - width [float range [0 ~ 1]] or [integer range [8 ~ ]]
" - height [float range [0 ~ 1]] or [integer range [4 ~ ]]
"
" Optional:
" - xoffset [float default 0.5 range [0 ~ 1]]