Skip to main content
Module

x/ddc_vim/deps.ts>fn.argc

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