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

x/ddc_vim/deps.ts>fn.winline

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.winline
import { fn } from "https://deno.land/x/ddc_vim@v4.1.0/deps.ts";
const { winline } = fn;

The result is a Number, which is the screen line of the cursor in the window. This is counting screen lines from the top of the window. The first line is one. If the cursor was moved the view on the file will be updated first, this may cause a scroll.

Returns

Promise<number>