Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@v5.1.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<number>