Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/nvim/mod.ts>nvim_buf_create_user_command

๐Ÿ“š Standard module for denops.vim
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>