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

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