Skip to main content
Module

x/denops_std/option/mod.ts>display

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

Change the way text is displayed. This is a comma-separated list of flags: lastline When included, as much as possible of the last line in a window will be displayed. "@@@" is put in the last columns of the last screen line to indicate the rest of the line is not displayed. truncate Like "lastline", but "@@@" is displayed in the first column of the last screen line. Overrules "lastline". uhex Show unprintable characters hexadecimal as <xx> instead of using ^C and ~C.

When neither "lastline" nor "truncate" is included, a last line that doesn't fit is replaced with "@" lines.

The "@" character can be changed by setting the "lastline" item in 'fillchars'. The character is highlighted with hl-NonText.

(default "", set to "truncate" in defaults.vim)