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

x/ddu_vim/deps.ts>op.number

Dark deno-powered UI framework for neovim/Vim8
Go to Latest
variable op.number
import { op } from "https://deno.land/x/ddu_vim@v1.13.0/deps.ts";
const { number } = op;

Print the line number in front of each line. When the 'n' option is excluded from 'cpoptions' a wrapped line will not use the column of line numbers (this is the default when 'compatible' isn't set). The 'numberwidth' option can be used to set the room used for the line number. When a long, wrapped line doesn't start with the first character, '-' characters are put before the number. See |hl-LineNr| and |hl-CursorLineNr| for the highlighting used for the number. The 'relativenumber' option changes the displayed number to be relative to the cursor. Together with 'number' there are these four combinations (cursor in line 3):