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

x/ddc_vim/deps.ts>fn.screenrow

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