import { op } from "https://deno.land/x/ddc_vim@v3.9.1/deps.ts";
const { fillchars } = op;
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
lastline '@' 'display' contains lastline/truncate
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
lastline NonText hl-NonText
(default "vert:|,fold:-,eob:~"
)
not available when compiled without the +folding
feature