Skip to main content
Module

x/ddc_vim/deps.ts>op.number

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
variable op.number
import { op } from "https://deno.land/x/ddc_vim@v2.3.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):