Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ddc_vim/deps.ts>fn.screenattr

Dark deno-powered completion framework for neovim/Vim
Very Popular
Go to Latest
function fn.screenattr
import { fn } from "https://deno.land/x/ddc_vim@v4.0.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>