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

x/ddc_vim/deps.ts>op.titlelen

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
variable op.titlelen
import { op } from "https://deno.land/x/ddc_vim@v3.9.1/deps.ts";
const { titlelen } = op;

Gives the percentage of 'columns' to use for the length of the window title. When the title is longer, only the end of the path name is shown. A '<' character before the path name is used to indicate this. Using a percentage makes this adapt to the width of the window. But it won't work perfectly, because the actual number of characters available also depends on the font used and other things in the title bar. When 'titlelen' is zero the full path is used. Otherwise, values from 1 to 30000 percent can be used. 'titlelen' is also used for the 'titlestring' option.

(default 85)

type

GlobalOption<number>