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

x/denops_std/function/vim/mod.ts>assert_beeps

๐Ÿ“š Standard module for denops.vim
Go to Latest
function assert_beeps
import { assert_beeps } from "https://deno.land/x/denops_std@v3.6.0/function/vim/mod.ts";

Run {cmd} and add an error message to |v:errors| if it does NOT produce a beep or visual bell. Also see |assert_fails()|, |assert_nobeep()| and |assert-return|. Can also be used as a |method|: GetCmd()->assert_beeps()

Parameters

denops: Denops
cmd: unknown

Returns

Promise<unknown>