Skip to main content
Module

x/denops_std/function/mod.ts>screenattr

📚 Standard module for denops.vim
Go to Latest
function screenattr
import { screenattr } from "https://deno.land/x/denops_std@v6.4.0/function/mod.ts";

Like screenchar(), but return the attribute. This is a rather arbitrary number that can only be used to compare to the attribute at other positions. Returns -1 when row or col is out of range.

Can also be used as a method:

GetRow()->screenattr(col)

Parameters

denops: Denops
row: unknown
col: unknown

Returns

Promise<number>