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

x/ddc_vim/deps.ts>fn.argc

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

The result is the number of files in the argument list. See arglist. If {winid} is not supplied, the argument list of the current window is used. If {winid} is -1, the global argument list is used. Otherwise {winid} specifies the window of which the argument list is used: either the window number or the window ID. Returns -1 if the {winid} argument is invalid.

Parameters

denops: Denops
optional
winid: unknown

Returns

Promise<number>