Skip to main content
Module

x/ddc_vim/deps.ts>fn.screenrow

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.screenrow
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { screenrow } = fn;

The result is a Number, which is the current screen row of the cursor. The top line has number one. This function is mainly used for testing. Alternatively you can use |winline()|. Note: Same restrictions as with |screencol()|.

Returns

Promise<unknown>