Skip to main content
Module

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

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

Delete an autocommand group by id.

To get a group id one can use nvim_get_autocmds().

NOTE: behavior differs from :augroup-delete. When deleting a group, autocommands contained in this group will also be deleted and cleared. This group will no longer exist.

Parameters:

  • {id} Integer The id of the group.

See also:

  • nvim_del_augroup_by_name()
  • nvim_create_augroup()

Parameters

denops: Denops
id: unknown

Returns

Promise<unknown>