summaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorYee Cheng Chin <ychin.git@gmail.com>2022-10-08 13:50:05 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-08 13:50:05 +0100
commit4314e4f7da4db5d85f63cdf43b73be3689502c93 (patch)
tree37d2f5ae97f68da5ca3e0edc8ac6d6aa6b06d8e3 /runtime/doc
parent5a049846e4c54d70094c3f29ffbd340c75e9c50e (diff)
downloadvim-git-4314e4f7da4db5d85f63cdf43b73be3689502c93.tar.gz
patch 9.0.0694: no native sound support on Mac OSv9.0.0694
Problem: No native sound support on Mac OS. Solution: Add sound support for Mac OS. (Yee Cheng Chin, closes #11274)
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/builtin.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 2ed73999c..0cba7c215 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -8631,6 +8631,9 @@ sound_playevent({name} [, {callback}])
< On MS-Windows, {name} can be SystemAsterisk, SystemDefault,
SystemExclamation, SystemExit, SystemHand, SystemQuestion,
SystemStart, SystemWelcome, etc.
+ On macOS, {name} refers to files located in
+ /System/Library/Sounds (e.g. "Tink"). It will also work for
+ custom installed sounds in folders like ~/Library/Sounds.
When {callback} is specified it is invoked when the sound is
finished. The first argument is the sound ID, the second