Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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@v3.6.0/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>