Skip to main content
Module

x/ddc_vim/deps.ts>fn.argv

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.argv
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { argv } = fn;

The result is the {nr}th file in the argument list. See |arglist|. "argv(0)" is the first one. Example: :let i = 0 :while i < argc() : let f = escape(fnameescape(argv(i)), '.') : exe 'amenu Arg.' . f . ' :e ' . f . '' : let i = i + 1 :endwhile Without the {nr} argument, or when {nr} is -1, a |List| with the whole |arglist| is returned. The {winid} argument specifies the window ID, see |argc()|. For the Vim command line arguments see |v:argv|.

Parameters

denops: Denops
optional
nr: unknown
optional
winid: unknown

Returns

Promise<unknown>