mirror of
https://github.com/neovim/neovim.git
synced 2025-12-06 22:52:42 +00:00
9
runtime/lua/vim/_meta/api.lua
generated
9
runtime/lua/vim/_meta/api.lua
generated
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user