Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>op.winheight

Dark deno-powered completion framework for neovim/Vim
Go to Latest
variable op.winheight
import { op } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { winheight } = op;

Minimal number of lines for the current window. This is not a hard minimum, Vim will use fewer lines if there is not enough room. If the focus goes to a window that is smaller, its size is increased, at the cost of the height of other windows. Set 'winheight' to a small number for normal editing. Set it to 999 to make the current window fill most of the screen. Other windows will be only 'winminheight' high. This has the drawback that ":all" will create only two windows. To avoid "vim -o 1 2 3 4" to create only two windows, set the option after startup is done, using the VimEnter event:

au VimEnter * set winheight=999

Minimum value is 1. The height is not adjusted after one of the commands that change the height of the current window. 'winheight' applies to the current window. Use 'winminheight' to set the minimal height for other windows.

(default 1)

type

GlobalOption<number>