Skip to main content
Module

x/denops_std/option/mod.ts>cursorlineopt

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

Comma-separated list of settings for how 'cursorline' is displayed. Valid values: "line" Highlight the text line of the cursor with CursorLine hl-CursorLine. "screenline" Highlight only the screen line of the cursor with CursorLine hl-CursorLine. "number" Highlight the line number of the cursor with CursorLineNr hl-CursorLineNr.

Special value: "both" Alias for the values "line,number".

"line" and "screenline" cannot be used together.

(default: "number,line")

not available when compiled without the +syntax feature

type

{ get(denops: Denops): Promise<string>; set(denops: Denops, value: string): Promise<void>; reset(denops: Denops): Promise<void>; getLocal(denops: Denops): Promise<string>; setLocal(denops: Denops, value: string): Promise<void>; resetLocal(denops: Denops): Promise<void>; }