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.screenrow

Dark deno-powered completion framework for neovim/Vim8
Very Popular
Go to Latest
function fn.screenrow
import { fn } from "https://deno.land/x/ddc_vim@v3.8.2/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<number>