mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
docs(api): tweak data arg for nvim_create_autocmd (#22008)
Fixes #21964
This commit is contained in:
@@ -3281,7 +3281,7 @@ nvim_create_autocmd({event}, {*opts}) *nvim_create_autocmd()*
|
||||
• match: (string) expanded value of |<amatch>|
|
||||
• buf: (number) expanded value of |<abuf>|
|
||||
• file: (string) expanded value of |<afile>|
|
||||
• data: (any) arbitrary data passed to
|
||||
• data: (any) arbitrary data passed from
|
||||
|nvim_exec_autocmds()|
|
||||
|
||||
• command (string) optional: Vim command to execute on event.
|
||||
|
@@ -404,7 +404,7 @@ cleanup:
|
||||
/// - match: (string) expanded value of |<amatch>|
|
||||
/// - buf: (number) expanded value of |<abuf>|
|
||||
/// - file: (string) expanded value of |<afile>|
|
||||
/// - data: (any) arbitrary data passed to |nvim_exec_autocmds()|
|
||||
/// - data: (any) arbitrary data passed from |nvim_exec_autocmds()|
|
||||
/// - command (string) optional: Vim command to execute on event. Cannot be used with
|
||||
/// {callback}
|
||||
/// - once (boolean) optional: defaults to false. Run the autocommand
|
||||
|
Reference in New Issue
Block a user