Skip to main content
Module

x/ddc_vim/deps.ts>fn.screenrow

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