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

x/ddc_vim/deps.ts>fn.wincol

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

The result is a Number, which is the virtual column of the cursor in the window. This is counting screen cells from the left side of the window. The leftmost column is one.

Returns

Promise<number>