mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
docs: misc #24163
- Also delete old perl scripts which are not used since 8+ years ago. fix #23251 fix #27367 ref https://github.com/neovim/neovim/issues/2252#issuecomment-1902662577 Helped-by: Daniel Kongsgaard <dakongsgaard@gmail.com> Co-authored-by: Kevin Pham <keevan.pham@gmail.com>
This commit is contained in:
6
runtime/lua/vim/_meta/api.lua
generated
6
runtime/lua/vim/_meta/api.lua
generated
@@ -897,8 +897,8 @@ function vim.api.nvim_create_augroup(name, opts) end
|
||||
--- • callback (function|string) optional: Lua function (or
|
||||
--- Vimscript function name, if string) called when the event(s)
|
||||
--- is triggered. Lua callback can return a truthy value (not
|
||||
--- `false` or `nil`) to delete the autocommand. Receives a
|
||||
--- table argument with these keys:
|
||||
--- `false` or `nil`) to delete the autocommand. Receives one
|
||||
--- argument, a table with these keys: *event-args*
|
||||
--- • id: (number) autocommand id
|
||||
--- • event: (string) name of the triggered event
|
||||
--- `autocmd-events`
|
||||
@@ -907,7 +907,7 @@ function vim.api.nvim_create_augroup(name, opts) end
|
||||
--- • buf: (number) expanded value of <abuf>
|
||||
--- • file: (string) expanded value of <afile>
|
||||
--- • data: (any) arbitrary data passed from
|
||||
--- `nvim_exec_autocmds()`
|
||||
--- `nvim_exec_autocmds()` *event-data*
|
||||
--- • command (string) optional: Vim command to execute on event.
|
||||
--- Cannot be used with {callback}
|
||||
--- • once (boolean) optional: defaults to false. Run the
|
||||
|
Reference in New Issue
Block a user