Skip to main content
Module

x/dpp_vim/deps.ts>fn.screenattr

Dark powered plugin manager for Vim/neovim
Latest
function fn.screenattr
import { fn } from "https://deno.land/x/dpp_vim@v0.2.0/deps.ts";
const { screenattr } = fn;

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>