Skip to main content
Module

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

📚 Standard module for denops.vim
Go to Latest
function nvim_buf_del_user_command
import { nvim_buf_del_user_command } from "https://deno.land/x/denops_std@v6.4.0/function/nvim/mod.ts";

Delete a buffer-local user-defined command.

Only commands created with :command-buffer or nvim_buf_create_user_command() can be deleted with this function.

Parameters:

  • {buffer} Buffer handle, or 0 for current buffer.
  • {name} Name of the command to delete.

Parameters

denops: Denops
buffer: unknown
name: unknown

Returns

Promise<unknown>