Skip to main content
Module

x/denops_std/option/mod.ts>cursorcolumn

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

Highlight the screen column of the cursor with CursorColumn hl-CursorColumn. Useful to align text. Will make screen redrawing slower. If you only want the highlighting in the current window you can use these autocommands:

au WinLeave * set nocursorline nocursorcolumn
au WinEnter * set cursorline cursorcolumn

(default off)

not available when compiled without the +syntax feature

type

{ get(denops: Denops): Promise<boolean>; set(denops: Denops, value: boolean): Promise<void>; reset(denops: Denops): Promise<void>; getLocal(denops: Denops): Promise<boolean>; setLocal(denops: Denops, value: boolean): Promise<void>; resetLocal(denops: Denops): Promise<void>; getBuffer(denops: Denops, bufnr: number): Promise<boolean>; setBuffer(
denops: Denops,
bufnr: number,
value: boolean,
): Promise<void>; getWindow(denops: Denops, winnr: number): Promise<boolean>; setWindow(
denops: Denops,
winnr: number,
value: boolean,
): Promise<void>; }