Skip to main content
Module

x/ddc_vim/deps.ts>fn.screenattr

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