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

x/ddc_vim/deps.ts>op.rulerformat

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

When this option is not empty, it determines the content of the ruler string, as displayed for the 'ruler' option. The format of this option is like that of 'statusline'. This option cannot be set in a modeline when 'modelineexpr' is off.

The default ruler width is 17 characters. To make the ruler 15 characters wide, put "%15(" at the start and "%)" at the end. Example:

:set rulerformat=%15(%c%V\ %p%%%)

(default empty)

not available when compiled without the +statusline feature

type

GlobalOption<string>