Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
function nvim_buf_create_user_command
import { nvim_buf_create_user_command } from "https://deno.land/x/denops_std@v4.1.4/function/nvim/mod.ts";

Create a new user command |user-commands| in the given buffer. Parameters: ~ {buffer} Buffer handle, or 0 for current buffer. See also: ~ nvim_create_user_command

Parameters

denops: Denops
buffer: unknown
name: unknown
command: unknown
opts: unknown

Returns

Promise<unknown>