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>sound_playfile

📚 Standard module for denops.vim
Go to Latest
function sound_playfile
import { sound_playfile } from "https://deno.land/x/denops_std@v4.1.4/function/vim/mod.ts";

Like sound_playevent() but play sound file {path}. {path} must be a full path. On Ubuntu you may find files to play with this command: :!find /usr/share/sounds -type f | grep -v index.theme Can also be used as a |method|: GetSoundPath()->sound_playfile() {only available when compiled with the |+sound| feature}

Parameters

denops: Denops
path: unknown
optional
callback: unknown

Returns

Promise<unknown>