diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-07-12 19:27:14 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2023-08-03 14:01:53 +0200 |
commit | d2f81330247ee060d557330b2716ccea8f789a50 (patch) | |
tree | cfc05f6f29b46d280a0207d71df51d8cda9b402e /runtime/lua/vim/_meta/api.lua | |
parent | 214b125132778c5d51d4d7e673d31a9be835e150 (diff) | |
download | rneovim-d2f81330247ee060d557330b2716ccea8f789a50.tar.gz rneovim-d2f81330247ee060d557330b2716ccea8f789a50.tar.bz2 rneovim-d2f81330247ee060d557330b2716ccea8f789a50.zip |
docs: misc
Co-authored-by: Kevin Pham <keevan.pham@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
-rw-r--r-- | runtime/lua/vim/_meta/api.lua | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua index 3622ba5d19..c0e4e35e7d 100644 --- a/runtime/lua/vim/_meta/api.lua +++ b/runtime/lua/vim/_meta/api.lua @@ -691,8 +691,8 @@ function vim.api.nvim_call_function(fn, args) end --- @param data string data to write. 8-bit clean: can contain NUL bytes. function vim.api.nvim_chan_send(chan, data) end ---- Clear all autocommands that match the corresponding {opts}. To delete a ---- particular autocmd, see `nvim_del_autocmd()`. +--- Clears all autocommands selected by {opts}. To delete autocmds see +--- `nvim_del_autocmd()`. --- --- @param opts vim.api.keyset.clear_autocmds Parameters --- • event: (string|table) Examples: @@ -919,10 +919,9 @@ function vim.api.nvim_del_augroup_by_id(id) end --- @param name string String The name of the group. function vim.api.nvim_del_augroup_by_name(name) end ---- Delete an autocommand by id. ---- NOTE: Only autocommands created via the API have an id. +--- Deletes an autocommand by id. --- ---- @param id integer Integer The id returned by nvim_create_autocmd +--- @param id integer Integer Autocommand id returned by `nvim_create_autocmd()` function vim.api.nvim_del_autocmd(id) end --- Deletes the current line. |