Skip to main content
Module

x/denops_std/option/mod.ts>fillchars

📚 Standard module for denops.vim
Go to Latest
variable fillchars
import { fillchars } from "https://deno.land/x/denops_std@v4.3.1/option/mod.ts";

Characters to fill the statuslines, vertical separators and special lines in the window. It is a comma-separated list of items. Each item has a name, a colon and the value of that item:

item name default Used for stl ' ' or '^' statusline of the current window stlnc ' ' or '=' statusline of the non-current windows vert '|' vertical separators :vsplit fold '-' filling 'foldtext' foldopen '-' mark the beginning of a fold foldclose '+' show a closed fold foldsep '|' open fold middle character diff '-' deleted lines of the 'diff' option eob '~' empty lines below the end of a buffer

Any one that is omitted will fall back to the default. For "stl" and "stlnc" the space will be used when there is highlighting, '^' or '=' otherwise.

Example:

:set fillchars=stl:^,stlnc:=,vert:\|,fold:-,diff:-

This is similar to the default, except that these characters will also be used when there is highlighting.

For the "stl", "stlnc", "foldopen", "foldclose" and "foldsep" items single-byte and multibyte characters are supported. But double-width characters are not supported.

The highlighting used for these items: item name highlight group stl StatusLine hl-StatusLine stlnc StatusLineNC hl-StatusLineNC vert VertSplit hl-VertSplit fold Folded hl-Folded diff DiffDelete hl-DiffDelete eob EndOfBuffer hl-EndOfBuffer

(default "vert:|,fold:-,eob:~")

not available when compiled without the +folding feature

type

{ get(denops: Denops): Promise<string>; set(denops: Denops, value: string): Promise<void>; reset(denops: Denops): Promise<void>; getGlobal(denops: Denops): Promise<string>; setGlobal(denops: Denops, value: string): Promise<void>; resetGlobal(denops: Denops): Promise<void>; getLocal(denops: Denops): Promise<string>; setLocal(denops: Denops, value: string): Promise<void>; resetLocal(denops: Denops): Promise<void>; getBuffer(denops: Denops, bufnr: number): Promise<string>; setBuffer(
denops: Denops,
bufnr: number,
value: string,
): Promise<void>; getWindow(denops: Denops, winnr: number): Promise<string>; setWindow(
denops: Denops,
winnr: number,
value: string,
): Promise<void>; }