aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorGyörgy Andorka <gyorgy.andorka@protonmail.com>2022-03-31 19:13:22 +0200
committerChristian Clason <c.clason@uni-graz.at>2022-03-31 23:58:47 +0200
commit9d40b2fda96709a8219369316a5768ca4b689e4f (patch)
tree5050036b5fbac906b99b3d48f6baa4de71c436ec /runtime/doc
parentea8ad79990ac67644680b66d8fc0e68c5eb70a87 (diff)
downloadrneovim-9d40b2fda96709a8219369316a5768ca4b689e4f.tar.gz
rneovim-9d40b2fda96709a8219369316a5768ca4b689e4f.tar.bz2
rneovim-9d40b2fda96709a8219369316a5768ca4b689e4f.zip
refactor(api)!: use singular/plural consistently in the autocmd API
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/api.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index b25a43a952..24ef230844 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -3151,7 +3151,7 @@ nvim_tabpage_set_var({tabpage}, {name}, {value})
==============================================================================
Autocmd Functions *api-autocmd*
-nvim_clear_autocmd({*opts}) *nvim_clear_autocmd()*
+nvim_clear_autocmds({*opts}) *nvim_clear_autocmds()*
Clear all autocommands that match the corresponding {opts}. To
delete a particular autocmd, see |nvim_del_autocmd|.
@@ -3310,8 +3310,9 @@ nvim_del_autocmd({id}) *nvim_del_autocmd()*
See also: ~
|nvim_create_autocmd()|
-nvim_exec_autocmd({event}, {*opts}) *nvim_exec_autocmd()*
- Execute an autocommand |autocmd-execute|.
+nvim_exec_autocmds({event}, {*opts}) *nvim_exec_autocmds()*
+ Execute all autocommands for {event} that match the
+ corresponding {opts} |autocmd-execute|.
Parameters: ~
{event} (String|Array) The event or events to execute
@@ -3333,7 +3334,7 @@ nvim_exec_autocmd({event}, {*opts}) *nvim_exec_autocmd()*
|:doautocmd|
nvim_get_autocmds({*opts}) *nvim_get_autocmds()*
- Get autocommands that match the requirements passed to {opts}.
+ Get all autocommands that match the corresponding {opts}.
These examples will get autocommands matching ALL the given
criteria: >