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

x/ddc_vim/deps.ts>fn.argidx

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

The result is the current index in the argument list. 0 is the first file. argc() - 1 is the last one. See arglist.

Returns

Promise<number>