Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>fn.screenattr

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