Skip to main content
Module

x/ddc_vim/deps.ts>fn.winline

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